summaryrefslogtreecommitdiffstats
path: root/models/update.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/update.go')
-rw-r--r--models/update.go1
1 files changed, 0 insertions, 1 deletions
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
}