mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-03 00:45:22 +02:00
fix error detect when push commits
This commit is contained in:
parent
6dfee30bf0
commit
2dde2a8ad3
2 changed files with 10 additions and 3 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue