diff options
author | Unknwon <u@gogs.io> | 2015-09-25 21:06:31 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-09-25 21:06:31 -0400 |
commit | 2dde2a8ad3bbec26172e48697f29242c12712057 (patch) | |
tree | 06e8dd4e5cc6c118e32c5bc0b6cda2953ad0879c /models/update.go | |
parent | 6dfee30bf0a6faef3211eb9fd1587c4fd8e87eef (diff) | |
download | gitea-2dde2a8ad3bbec26172e48697f29242c12712057.tar.gz gitea-2dde2a8ad3bbec26172e48697f29242c12712057.zip |
fix error detect when push commits
Diffstat (limited to 'models/update.go')
-rw-r--r-- | models/update.go | 1 |
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 } |