1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-02 08:57:32 -04:00

fix wrong log when push to a new branch (#1220)

This commit is contained in:
Lunny Xiao 2017-03-17 10:15:00 +08:00 committed by GitHub
parent 925b252927
commit 3cf0e513e6
2 changed files with 1 additions and 1 deletions

View File

@ -360,7 +360,7 @@ func UpdateIssuesCommit(doer *User, repo *Repository, commits []*PushCommit) err
issue, err := GetIssueByRef(ref) issue, err := GetIssueByRef(ref)
if err != nil { if err != nil {
if IsErrIssueNotExist(err) { if IsErrIssueNotExist(err) || err == errMissingIssueNumber {
continue continue
} }
return err return err

0
modules/github/issues.go Normal file
View File