Skip to content

Commit ac94fb0

Browse files
committed
Fix bug
1 parent 9a2d726 commit ac94fb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/web/repo/pull.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -859,7 +859,7 @@ func viewPullFiles(ctx *context.Context, beforeCommitID, afterCommitID string) {
859859
ctx.Data["CanBlockUser"] = func(blocker, blockee *user_model.User) bool {
860860
return user_service.CanBlockUser(ctx, ctx.Doer, blocker, blockee)
861861
}
862-
if !isShowAllCommits && pull.Flow == issues_model.PullRequestFlowGithub {
862+
if isShowAllCommits && pull.Flow == issues_model.PullRequestFlowGithub {
863863
if err := pull.LoadHeadRepo(ctx); err != nil {
864864
ctx.ServerError("LoadHeadRepo", err)
865865
return

0 commit comments

Comments
 (0)