fix 1093
This commit is contained in:
parent
c75cd33f2f
commit
d07033a0f0
|
@ -475,7 +475,7 @@ func initRepoCommit(tmpPath string, sig *git.Signature) (err error) {
|
||||||
if _, stderr, err = process.ExecDir(-1,
|
if _, stderr, err = process.ExecDir(-1,
|
||||||
tmpPath, fmt.Sprintf("initRepoCommit(git commit): %s", tmpPath),
|
tmpPath, fmt.Sprintf("initRepoCommit(git commit): %s", tmpPath),
|
||||||
"git", "commit", fmt.Sprintf("--author='%s <%s>'", sig.Name, sig.Email),
|
"git", "commit", fmt.Sprintf("--author='%s <%s>'", sig.Name, sig.Email),
|
||||||
"-m", "Init commit"); err != nil {
|
"-m", "initial commit"); err != nil {
|
||||||
return errors.New("git commit: " + stderr)
|
return errors.New("git commit: " + stderr)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue