From 2dde2a8ad3bbec26172e48697f29242c12712057 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Fri, 25 Sep 2015 21:06:31 -0400 Subject: fix error detect when push commits --- models/update.go | 1 - 1 file changed, 1 deletion(-) (limited to 'models/update.go') diff --git a/models/update.go b/models/update.go index 2fd00ad7e8..cbaf0e6618 100644 --- a/models/update.go +++ b/models/update.go @@ -135,7 +135,6 @@ func Update(refName, oldCommitId, newCommitId, userName, repoUserName, repoName var actEmail string for e := l.Front(); e != nil; e = e.Next() { commit := e.Value.(*git.Commit) - if actEmail == "" { actEmail = commit.Committer.Email } -- cgit v1.2.3