Skip to content
zit Check-in [a1c2a0fd4d]
Login

Check-in [a1c2a0fd4d]

Overview
Comment: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
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: a1c2a0fd4da52dbe271e075538713ba623a5dda91188ca867b28681ad465a1a6
User & Date: dmestas on 2026-11-07 23:33:50.009
Other Links: manifest | tags
Context
2026-11-08
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
22:21
log for a path reads content only for the rows on the page, deciding the rest from the file index, so a 200-row page of a 2,000-version history costs tens of milliseconds; annotate -n N stops after N versions of the file as Fossil's annotate does, leaving older lines unattributed check-in: 3b7445b9cb user: dmestas tags: trunk
Changes