Skip to content

Commit bbc7f96

Browse files
arschlesAaron Schlesinger
authored andcommitted
fix(build.go): add debug output for repository command execution
1 parent 0d8e6f7 commit bbc7f96

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pkg/gitreceive/build.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ func (e errGitShaTooShort) Error() string {
3131
func repoCmd(repoDir, first string, others ...string) *exec.Cmd {
3232
cmd := exec.Command(first, others...)
3333
cmd.Dir = repoDir
34+
log.Debug("running [%s] in directory %s", strings.Join(cmd.Args, " "), cmd.Dir)
3435
return cmd
3536
}
3637

0 commit comments

Comments
 (0)