aboutsummaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-17 16:03:40 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-17 16:03:40 -0400
commit6ca32ef44f3ca127b930b98e5192ab5a21f5d454 (patch)
tree260e528bc68679080c17f68d524c9027529e4671 /models
parent97b7cb0dca3081853dfc8e96f19bf19a74baea06 (diff)
downloadgitea-6ca32ef44f3ca127b930b98e5192ab5a21f5d454.tar.gz
gitea-6ca32ef44f3ca127b930b98e5192ab5a21f5d454.zip
Bug fix
Diffstat (limited to 'models')
-rw-r--r--models/repo.go7
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
}