aboutsummaryrefslogtreecommitdiffstats
path: root/routers/web/repo/compare.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/web/repo/compare.go')
-rw-r--r--routers/web/repo/compare.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/routers/web/repo/compare.go b/routers/web/repo/compare.go
index 3927972837..3477ba36e8 100644
--- a/routers/web/repo/compare.go
+++ b/routers/web/repo/compare.go
@@ -792,6 +792,10 @@ func CompareDiff(ctx *context.Context) {
if ctx.Written() {
return
}
+ RetrieveRepoReviewers(ctx, ctx.Repo.Repository, nil, true)
+ if ctx.Written() {
+ return
+ }
}
}
beforeCommitID := ctx.Data["BeforeCommitID"].(string)