Files
kylehgc 7689020ca5 fix(diff): preclear round 2 -- file-level facts, sha256 mbox, contexts
- File-level facts outside hunks become note-only entries instead of
  vanishing while the stream condenses: 'Only in <dir>: <file>' and
  standalone 'Binary files ... differ' (GNU diff -r), '* Unmerged path'
  (git diff --ours during a merge), and 'Submodule <a>..<b>' headers.
  Suppressed inside mbox message regions, where column-0 prose is
  indistinguishable by value. Real fixtures captured for all four shapes;
  fix proven load-bearing by revert.
- is_mbox_from accepts 64-hex separators: SHA-256 repos' format-patch
  streams no longer fall back raw wholesale.
- .context() on the stdin read and raw-fallback write paths.
- Savings comment corrected to the measured corpus numbers (52-87%
  metadata-heavy, single digits content-heavy); exemption escalation
  unchanged.
2026-08-30 22:29:17 +00:00

18 lines
416 B
Plaintext

diff -ru a/f1.txt b/f1.txt
--- a/f1.txt 2026-08-29 22:45:15.660427700 -0400
+++ b/f1.txt 2026-08-29 22:45:15.660427700 -0400
@@ -1,3 +1,4 @@
alpha
-beta
+BETA
gamma
+delta
Binary files a/img.bin and b/img.bin differ
Only in b: newfile.txt
diff -ru a/sub/deep.txt b/sub/deep.txt
--- a/sub/deep.txt 2026-08-29 22:45:15.660427700 -0400
+++ b/sub/deep.txt 2026-08-29 22:45:15.660427700 -0400
@@ -1 +1,2 @@
same
+more