Skip to content

Commit 6530f90

Browse files
committed
DEBUG
Signed-off-by: JenTing Hsiao <[email protected]>
1 parent 9af0600 commit 6530f90

File tree

1 file changed

+5
-1
lines changed
  • components/content-service/pkg/initializer

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ func (ws *GitInitializer) Run(ctx context.Context, mappings []archive.IDMapping)
138138

139139
cmd = exec.Command("ls", "-al", ws.Location+"/.git/")
140140
res, _ = cmd.CombinedOutput()
141-
log.Infof("ls -al %s: %v", ws.Location+"/.git/", string(res))
141+
log.Infof("[0] ls -al %s: %v", ws.Location+"/.git/", string(res))
142142
}
143143
if err := ws.realizeCloneTarget(ctx); err != nil {
144144
return src, xerrors.Errorf("git initializer clone: %w", err)
@@ -150,6 +150,10 @@ func (ws *GitInitializer) Run(ctx context.Context, mappings []archive.IDMapping)
150150
log.WithError(err).Warn("error while updating submodules - continuing")
151151
}
152152

153+
cmd := exec.Command("ls", "-al", ws.Location+"/.git/")
154+
res, _ := cmd.CombinedOutput()
155+
log.Infof("[1] ls -al %s: %v", ws.Location+"/.git/", string(res))
156+
153157
log.WithField("stage", "init").WithField("location", ws.Location).Debug("Git operations complete")
154158
return
155159
}

0 commit comments

Comments
 (0)