Skip to content
zit Check-in [f863b8d6ef]
Login

Check-in [f863b8d6ef]

Overview
Comment:merge diff-ignore-ws: zit diff -w ignores whitespace-only changes (#130)
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: f863b8d6ef41b48ead6bb5a7bf934f22193b24350398d40c6dd6cf0976239fe8
User & Date: dmestas on 2026-08-24 01:35:04.657
Other Links: manifest | tags
Context
2026-08-24
02:26
merge merge-probe: mergeability for a caller-named pair (#134) check-in: 83734fcc3d user: dmestas tags: trunk
01:35
merge diff-ignore-ws: zit diff -w ignores whitespace-only changes (#130) check-in: f863b8d6ef user: dmestas tags: trunk
00:52
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. closed check-in: 23784ef673 user: dmestas tags: diff-ignore-ws

00:41
merge ncard-rule: fossil's per-type N card write rule (#136) check-in: 7f9f9f8927 user: dmestas tags: trunk
Changes