Skip to content

Commit e8c86e7

Browse files
arschlesAaron Schlesinger
authored andcommitted
doc(build.go): add doc for repoCmd
1 parent 0f485a7 commit e8c86e7

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
@@ -28,6 +28,7 @@ func (e errGitShaTooShort) Error() string {
2828
return fmt.Sprintf("git sha %s was too short", e.sha)
2929
}
3030

31+
// repoCmd returns exec.Command(first, others...) with its current working directory repoDir
3132
func repoCmd(repoDir, first string, others ...string) *exec.Cmd {
3233
cmd := exec.Command(first, others...)
3334
cmd.Dir = repoDir

0 commit comments

Comments
 (0)