Overview
| Comment: | Add a windowed 'zit log -n K' that early-exits the ancestry walk after K check-ins: walkLog returns before descending into the K-th node's parents, so only K manifests are reconstructed instead of the whole DAG (full log → -n 20 scales linearly, the signature of a true bound). Opt-in — unbounded default unchanged; -n K accepted in either order; 0/non-numeric/overflow rejected. Documented as the K nearest ancestors in DFS order (not fossil's mtime timeline). |
|---|---|
| Timelines: | family | ancestors | descendants | both | windowed-log |
| Files: | files | file ages | folders |
| SHA3-256: |
ed93685e89ce1d6dce9abef2dfe912ab |
| User & Date: | dmestas on 2026-07-17 03:42:20.085 |
| Other Links: | branch diff | manifest | tags |
Context
|
2026-07-17
| ||
| 03:44 | Merge windowed-log: 'zit log -n K' bounds the ancestry walk to K check-ins (early-exit before descending), fixing zit's slowest read for the common case. check-in: b2d89cb634 user: dmestas tags: trunk | |
| 03:42 | Add a windowed 'zit log -n K' that early-exits the ancestry walk after K check-ins: walkLog returns before descending into the K-th node's parents, so only K manifests are reconstructed instead of the whole DAG (full log → -n 20 scales linearly, the signature of a true bound). Opt-in — unbounded default unchanged; -n K accepted in either order; 0/non-numeric/overflow rejected. Documented as the K nearest ancestors in DFS order (not fossil's mtime timeline). closed check-in: ed93685e89 user: dmestas tags: windowed-log | |
| 03:24 | Create new branch named "windowed-log" check-in: f0e2cd8720 user: dmestas tags: windowed-log | |
Changes
Modified src/cli.zig
from [c6d2679e3b]
to [dd24b9322c].
[diff]
Modified src/main.zig
from [6fac891f9a]
to [a7b9c7e054].
[diff]