1
0
Fork 0
This commit is contained in:
Unknwon 2015-08-28 18:49:44 +08:00
parent c75cd33f2f
commit d07033a0f0

View file

@ -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)
} }