Function: executeGitPatchEquivalence()
ts
function executeGitPatchEquivalence(
node,
candidates,
_ctx
): Promise<Readonly<Record<number, unknown>>>;Defined in: git/src/executors/git-cross-verifiers-and-tools.ts:80
Executes a GitPatchEquivalenceNode (git.patchEquivalence) across speculative worktree candidates.
Computes normalized patch digests relative to baseRef and groups equivalent candidate branch indices.
Parameters
| Parameter | Type | Description |
|---|---|---|
node | GitPatchEquivalenceNode<unknown> | Patch-equivalence cross-verifier AST node. |
candidates | readonly CrossVerifierBranchCandidate<GitWorktreeHandle>[] | Surviving speculative candidate branches. |
_ctx | StepExecutionContext<GitWorktreeHandle> | Active step execution context. |
Returns
Promise<Readonly<Record<number, unknown>>>
Per-branch patch equivalence report indexed by branchIndex.