File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -193,16 +193,17 @@ func pushUpdates(optsList []*repo_module.PushUpdateOptions) error {
193
193
}
194
194
195
195
commits = repo_module .ListToPushCommits (l )
196
+
197
+ if err := repofiles .UpdateIssuesCommit (pusher , repo , commits .Commits , refName ); err != nil {
198
+ log .Error ("updateIssuesCommit: %v" , err )
199
+ }
200
+
196
201
if len (commits .Commits ) > setting .UI .FeedMaxCommitNum {
197
202
commits .Commits = commits .Commits [:setting .UI .FeedMaxCommitNum ]
198
203
}
199
204
commits .CompareURL = repo .ComposeCompareURL (opts .OldCommitID , opts .NewCommitID )
200
205
notification .NotifyPushCommits (pusher , repo , opts , commits )
201
206
202
- if err := repofiles .UpdateIssuesCommit (pusher , repo , commits .Commits , refName ); err != nil {
203
- log .Error ("updateIssuesCommit: %v" , err )
204
- }
205
-
206
207
if err = models .RemoveDeletedBranch (repo .ID , branch ); err != nil {
207
208
log .Error ("models.RemoveDeletedBranch %s/%s failed: %v" , repo .ID , branch , err )
208
209
}
You can’t perform that action at this time.
0 commit comments