diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-17 16:03:40 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-17 16:03:40 -0400 |
commit | 6ca32ef44f3ca127b930b98e5192ab5a21f5d454 (patch) | |
tree | 260e528bc68679080c17f68d524c9027529e4671 /models | |
parent | 97b7cb0dca3081853dfc8e96f19bf19a74baea06 (diff) | |
download | gitea-6ca32ef44f3ca127b930b98e5192ab5a21f5d454.tar.gz gitea-6ca32ef44f3ca127b930b98e5192ab5a21f5d454.zip |
Bug fix
Diffstat (limited to 'models')
-rw-r--r-- | models/repo.go | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/models/repo.go b/models/repo.go index 93e73b7d17..c377747a62 100644 --- a/models/repo.go +++ b/models/repo.go @@ -201,17 +201,16 @@ func initRepoCommit(tmpPath string, sig *git.Signature) error { if _, stderr, err = com.ExecCmd("git", "add", "--all"); err != nil { return err } - // log.Info("stderr(1): %s", stderr) + log.Info("stderr(1): %s", stderr) if _, stderr, err = com.ExecCmd("git", "commit", fmt.Sprintf("--author='%s <%s>'", sig.Name, sig.Email), "-m", "Init commit"); err != nil { return err } - // log.Info("stderr(2): %s", stderr) + log.Info("stderr(2): %s", stderr) if _, stderr, err = com.ExecCmd("git", "push", "origin", "master"); err != nil { return err } - // log.Info("stderr(3): %s", stderr) - _ = stderr + log.Info("stderr(3): %s", stderr) return nil } |