From 6ca32ef44f3ca127b930b98e5192ab5a21f5d454 Mon Sep 17 00:00:00 2001 From: Unknown Date: Mon, 17 Mar 2014 16:03:40 -0400 Subject: [PATCH] Bug fix --- models/repo.go | 7 +++---- 1 file 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 }