Skip to content

Commit 351fe35

Browse files
committed
wip
1 parent 7fe6c3f commit 351fe35

File tree

1 file changed

+12
-12
lines changed
  • components/content-service/pkg/initializer

1 file changed

+12
-12
lines changed

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -77,18 +77,18 @@ func (ws *GitInitializer) Run(ctx context.Context, mappings []archive.IDMapping)
7777
}
7878

7979
// make sure that folder itself is owned by gitpod user prior to doing git clone
80-
args := []string{"gitpod", ws.Location}
81-
cmd := exec.Command("chown", args...)
82-
res, cerr := cmd.CombinedOutput()
83-
if cerr != nil && !process.IsNotChildProcess(cerr) {
84-
err = git.OpFailedError{
85-
Args: args,
86-
ExecErr: cerr,
87-
Output: string(res),
88-
Subcommand: "chown",
89-
}
90-
return err
91-
}
80+
//args := []string{"gitpod", ws.Location}
81+
//cmd := exec.Command("chown", args...)
82+
//res, cerr := cmd.CombinedOutput()
83+
//if cerr != nil && !process.IsNotChildProcess(cerr) {
84+
// err = git.OpFailedError{
85+
// Args: args,
86+
// ExecErr: cerr,
87+
// Output: string(res),
88+
// Subcommand: "chown",
89+
// }
90+
// return err
91+
//}
9292

9393
log.WithField("stage", "init").WithField("location", ws.Location).Debug("Running git clone on workspace")
9494
err = ws.Clone(ctx)

0 commit comments

Comments
 (0)