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: |
382fad4badd5f9d65d4c6ec1e7e70638 |
| 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
Modified src/annotate.zig
from [6855e44fcb]
to [452b001c8e].
[diff]
Modified src/blamecache.zig
from [1e8432039e]
to [e7a0a452fb].
[diff]
Modified src/cmd/checkout.zig
from [8eaaa18485]
to [9f9c58eec4].
[diff]
Modified src/dst.zig
from [1a125c8ee7]
to [9fccbe3ee8].
[diff]
Modified src/fuzz_tests.zig
from [746da28289]
to [75f63d4ef3].
[diff]
Added src/linediff.zig version [30ee93ba57].
Added src/linediff_fuzz.zig version [7854f4de50].
Modified src/linestats.zig
from [5afb0e5a5b]
to [fdbdae8312].
[diff]
Modified src/merge3.zig
from [ec24b5aeb2]
to [c6b24b7d59].
[diff]
Modified src/merge3_fuzz.zig
from [da5d072c1e]
to [678a04bd84].
[diff]
Modified src/root.zig
from [78e7809229]
to [1e2986c638].
[diff]
Modified src/smoke.zig
from [8dd494711f]
to [ed9a2e8d40].
[diff]
Modified src/textdiff.zig
from [27085f914e]
to [32dc9315a3].
[diff]