Skip to content
zit Check-in [382fad4bad]
Login

Check-in [382fad4bad]

Overview
Comment:Every line diff in zit, from diff and its line counts to annotate and merge, is a port of Fossil's diff.c line diff (D. Richard Hipp), replacing the patience and Myers engines, so zit aligns repeated lines as Fossil does and annotate credits only the lines a check-in's diff adds; the blame cache and line-count cache are rebuilt
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 382fad4badd5f9d65d4c6ec1e7e70638e3446c2287cdd21a60d0afdbe05d66c9
User & Date: dmestas on 2026-11-08 01:18:02.067
Other Links: manifest | tags
Context
2026-11-08
01:44
The line diff and merge3 size every buffer from the line counts up front, so their allocations depend only on the input check-in: 501d2ba05f user: dmestas tags: trunk
01:18
Every line diff in zit, from diff and its line counts to annotate and merge, is a port of Fossil's diff.c line diff (D. Richard Hipp), replacing the patience and Myers engines, so zit aligns repeated lines as Fossil does and annotate credits only the lines a check-in's diff adds; the blame cache and line-count cache are rebuilt check-in: 382fad4bad user: dmestas tags: trunk
2026-11-07
23:33
annotate keeps a per-file blame cache of recently annotated versions and starts its walk from the nearest cached ancestor, so annotating a tip after a new commit costs tens of milliseconds instead of seconds; an answer that depended on a missing parent, a gap, a limit or a policy absence is never cached check-in: a1c2a0fd4d user: dmestas tags: trunk
Changes