mirror of
https://github.com/rtk-ai/rtk.git
synced 2026-09-19 07:33:17 +08:00
7689020ca5
- 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.
18 lines
416 B
Plaintext
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
|