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: |
a1c2a0fd4da52dbe271e075538713ba6 |
| 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
Modified src/annotate.zig
from [59c08e9bc0]
to [6855e44fcb].
[diff]
Added src/blamecache.zig version [1e8432039e].
Modified src/cmd/history.zig
from [85ec229576]
to [6cea051c7e].
[diff]
Modified src/core/blame.zig
from [4f124af59b]
to [5b2965761c].
[diff]
Modified src/core/feed.zig
from [53e8122bbb]
to [142c62a2f6].
[diff]
Modified src/daemon/daemon_e2e.zig
from [b88860d3fb]
to [eed1c8aff0].
[diff]
Modified src/e2e.zig
from [a445f516f1]
to [eeb077e815].
[diff]
Modified src/root.zig
from [89d37e8cb5]
to [78e7809229].
[diff]