Skip to content

Commit 2e84cc6

Browse files
Updates fn call
1 parent b13ee49 commit 2e84cc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/env/node/git/sub-providers/branches.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ export class BranchesGitSubProvider implements GitBranchesSubProvider {
433433
}
434434

435435
// Attempt to detect squash merges by checking if the diff of the branch can be cleanly removed from the target
436-
const mergeBase = await this.getMergeBase(repoPath, into.name, branch.name);
436+
const mergeBase = await this.provider.refs.getMergeBase(repoPath, into.name, branch.name);
437437
data = await this.git.exec<string>({ cwd: repoPath }, 'diff', mergeBase, branch.name);
438438
if (data?.length) {
439439
// Create a temporary index file

0 commit comments

Comments
 (0)