Skip to content

Commit 3703c2c

Browse files
committed
fix test
1 parent 1f14255 commit 3703c2c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

routers/web/repo/issue_view.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1024,8 +1024,7 @@ func getPullViewSquashMergeCommits(ctx *context.Context, issue *issues_model.Iss
10241024

10251025
baseCommit := GetMergedBaseCommitID(ctx, issue)
10261026

1027-
compareInfo, err := ctx.Repo.GitRepo.GetCompareInfo(ctx.Repo.Repository.RepoPath(),
1028-
baseCommit, pull.GetGitHeadRefName(), false, false)
1027+
compareInfo, err := pull_service.GetCompareInfo(ctx, ctx.Repo.Repository, ctx.Repo.Repository, ctx.Repo.GitRepo, baseCommit, pull.GetGitHeadRefName(), false, false)
10291028
if err != nil {
10301029
return "", err
10311030
}

0 commit comments

Comments
 (0)