FAILURE MAP
← Case archive

FA-75734 / Text diff and three-way merge / Member archive

Blame propagation: removed lines do not advance the old-line cursor · case 04

Lines after a deletion are credited to the commits of the deleted lines.

Member previewVariant 4 · 3 implementations · 8 checks per implementation

Case contract

Given the old file's per-line commit annotations and an edit script, produce annotations for the new file: context lines keep their old annotation, added lines get the new commit. With ignore_ws, within a run of removed lines followed by added lines, the i-th added line keeps the i-th removed line's annotation when both are equal after deleting all whitespace.

Why this case matters

Blame and annotate views follow each line through history; whitespace-insensitive blame should not credit reformatting commits.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
context keeps attribution["c1", "c2"]["c1", "c3"]Failed

MEMBER ARCHIVE

The complete case is available to members.

This record includes three runnable implementations, regression fixtures, execution results, and source hashes.

Member access is invitation-based. Sign in with your invited account to inspect the sources.

Sign in to the archive ↗