FA-75738 / Text diff and three-way merge / Member archive
Blame propagation: whitespace-only rewrites keep old blame even when not requested · case 03
Plain blame hides reformatting commits.
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 fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| whitespace-only change is new without the flag | ["c1", "c2"] | ["N", "c2"] | 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 ↗