Artifact 16e45e03e912adfb76ab4b128376e402566ded7b94a325498acb6696a1a165b6:
- File
src/textdiff.zig
-
2026-08-24 00:52:55
— part of check-in
[23784ef673]
on branch diff-ignore-ws
— diff: -w ignores whitespace-only changes (#130)
Lines differing only in whitespace compare equal, so a reindent or a CRLF/LF normalization produces no hunks and drops the file from --brief entirely. Comparison only: a line that does survive is emitted with its original bytes.
--brief reads content under -w, which it otherwise never does, and runs the same unified() the hunk path runs so the two cannot disagree about whether a file changed. A no-hunk result now claims 'mode changed' only on real byte equality -- with -w it also means a difference that was ignored. (user: dmestas, size: 23532) [annotate] [blame] [check-ins using]
- 2026-08-24 01:35:04 — part of check-in [f863b8d6ef] on branch trunk — merge diff-ignore-ws: zit diff -w ignores whitespace-only changes (#130) (user: dmestas, size: 23532) [annotate] [blame] [check-ins using]
-
2026-08-24 00:52:55
— part of check-in
[23784ef673]
on branch diff-ignore-ws
— diff: -w ignores whitespace-only changes (#130)