summaryrefslogtreecommitdiffstats
path: root/services/pull/check.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/pull/check.go')
-rw-r--r--services/pull/check.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/pull/check.go b/services/pull/check.go
index 3c79abf4b8..f920688f5d 100644
--- a/services/pull/check.go
+++ b/services/pull/check.go
@@ -121,7 +121,7 @@ func getMergeCommit(ctx context.Context, pr *models.PullRequest) (*git.Commit, e
mergeCommit = commitID[:40]
}
- gitRepo, err := git.OpenRepositoryCtx(ctx, pr.BaseRepo.RepoPath())
+ gitRepo, err := git.OpenRepository(ctx, pr.BaseRepo.RepoPath())
if err != nil {
return nil, fmt.Errorf("OpenRepository: %v", err)
}