Browse Source

Fixed typo (#3533)

Git convention has it capitalised.
tags/v1.2.0-rc1
LFlare 无闻 9 years ago
parent
commit
b092a2c073
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      models/repo.go

+ 1
- 1
models/repo.go View File

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