Browse Source

Fixed typo (#3533)

Git convention has it capitalised.
pull/3534/head
LFlare 8 years ago committed by 无闻
parent
commit
3738b6399e
  1. 2
      models/repo.go

2
models/repo.go

@ -877,7 +877,7 @@ func initRepoCommit(tmpPath string, sig *git.Signature) (err error) {
if _, stderr, err = process.ExecDir(-1,
tmpPath, fmt.Sprintf("initRepoCommit (git commit): %s", tmpPath),
"git", "commit", fmt.Sprintf("--author='%s <%s>'", sig.Name, sig.Email),
"-m", "initial commit"); err != nil {
"-m", "Initial commit"); err != nil {
return fmt.Errorf("git commit: %s", stderr)
}

Loading…
Cancel
Save