Browse Source

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

tags/v1.2.0-rc1
Lunny Xiao 8 years ago committed by GitHub
parent
commit
3cf0e513e6
  1. 2
      models/action.go
  2. 0
      modules/github/issues.go

2
models/action.go

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

0
modules/github/issues.go

Loading…
Cancel
Save