mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-02 17:20:53 +02:00
fix wrong log when push to a new branch (#1220)
This commit is contained in:
1 parent
925b252927
commit
3cf0e513e6
2 files changed
+1
-1
No files matched your search
+1
-1
@@ -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
|
||||||
|
|||||||
Whitespace-only changes.
Reference in new issue
Block a user