File tree 2 files changed +5
-0
lines changed
2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -284,6 +284,7 @@ func CompareDiff(ctx *context.Context) {
284
284
}
285
285
commits = models .ValidateCommitsWithEmails (commits )
286
286
commits = models .ParseCommitsWithSignature (commits )
287
+ commits = models .ParseCommitsWithStatus (commits , ctx .Repo .Repository )
287
288
288
289
ctx .Data ["CommitRepoLink" ] = ctx .Repo .RepoLink
289
290
ctx .Data ["Commits" ] = commits
Original file line number Diff line number Diff line change @@ -293,6 +293,8 @@ func ViewPullCommits(ctx *context.Context) {
293
293
}
294
294
295
295
commits = models .ValidateCommitsWithEmails (commits )
296
+ commits = models .ParseCommitsWithSignature (commits )
297
+ commits = models .ParseCommitsWithStatus (commits , ctx .Repo .Repository )
296
298
ctx .Data ["Commits" ] = commits
297
299
ctx .Data ["CommitCount" ] = commits .Len ()
298
300
@@ -576,6 +578,8 @@ func PrepareCompareDiff(
576
578
}
577
579
578
580
prInfo .Commits = models .ValidateCommitsWithEmails (prInfo .Commits )
581
+ prInfo .Commits = models .ParseCommitsWithSignature (prInfo .Commits )
582
+ prInfo .Commits = models .ParseCommitsWithStatus (prInfo .Commits , headRepo )
579
583
ctx .Data ["Commits" ] = prInfo .Commits
580
584
ctx .Data ["CommitCount" ] = prInfo .Commits .Len ()
581
585
ctx .Data ["Username" ] = headUser .Name
You can’t perform that action at this time.
0 commit comments