Skip to content

Commit 7fe6c3f

Browse files
committed
wip
1 parent 95631ca commit 7fe6c3f

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

components/content-service/pkg/git/git.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,6 @@ func (c *Client) GitWithOutput(ctx context.Context, ignoreErr *string, subcomman
210210
cmd.Env = env
211211

212212
res, err := cmd.CombinedOutput()
213-
log.Infof("git res: %s, %v", string(res), err)
214213
if err != nil {
215214
if strings.Contains(err.Error(), "no child process") {
216215
return res, nil

components/content-service/pkg/initializer/git.go

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -90,20 +90,6 @@ func (ws *GitInitializer) Run(ctx context.Context, mappings []archive.IDMapping)
9090
return err
9191
}
9292

93-
// test
94-
args = []string{"gitpod", "/workspace"}
95-
cmd = exec.Command("chown", args...)
96-
res, cerr = cmd.CombinedOutput()
97-
if cerr != nil && !process.IsNotChildProcess(cerr) {
98-
err = git.OpFailedError{
99-
Args: args,
100-
ExecErr: cerr,
101-
Output: string(res),
102-
Subcommand: "chown",
103-
}
104-
return err
105-
}
106-
10793
log.WithField("stage", "init").WithField("location", ws.Location).Debug("Running git clone on workspace")
10894
err = ws.Clone(ctx)
10995
if err != nil {

0 commit comments

Comments
 (0)