File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
components/content-service/pkg/initializer Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ func (ws *GitInitializer) Run(ctx context.Context, mappings []archive.IDMapping)
138
138
139
139
cmd = exec .Command ("ls" , "-al" , ws .Location + "/.git/" )
140
140
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 ))
142
142
}
143
143
if err := ws .realizeCloneTarget (ctx ); err != nil {
144
144
return src , xerrors .Errorf ("git initializer clone: %w" , err )
@@ -150,6 +150,10 @@ func (ws *GitInitializer) Run(ctx context.Context, mappings []archive.IDMapping)
150
150
log .WithError (err ).Warn ("error while updating submodules - continuing" )
151
151
}
152
152
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
+
153
157
log .WithField ("stage" , "init" ).WithField ("location" , ws .Location ).Debug ("Git operations complete" )
154
158
return
155
159
}
You can’t perform that action at this time.
0 commit comments