fix(FN-4397): complete Step 3 — treat unbound branch conflicts as stale-resolved
Fusion-Task-Id: FN-4397 Fusion-Task-Lineage: 1ffac4f7-adf5-4115-b588-108d75eadde7
This commit is contained in:
@@ -225,7 +225,11 @@ export async function inspectBranchConflict(
|
||||
return { kind: "stale-resolved" };
|
||||
}
|
||||
|
||||
if (livePath && livePath !== input.conflictingWorktreePath) {
|
||||
if (!livePath) {
|
||||
return { kind: "stale-resolved" };
|
||||
}
|
||||
|
||||
if (livePath !== input.conflictingWorktreePath) {
|
||||
const tipSha = await revParse(input.repoDir, input.branchName);
|
||||
const strandedCommits = await listStrandedCommits(input.repoDir, startPoint, input.branchName);
|
||||
const taskAttributedCommitCount = await countTaskAttributedCommits(
|
||||
|
||||
Reference in New Issue
Block a user