Skip to content
zit Artifact [d94c691c2a]
Login

Artifact [d94c691c2a]

Artifact d94c691c2a7271613567b517ce9b4709019186bc98a8287b23422133ed795195:


zit 0.3.40

zit 0.3.40 puts line counts in the crosslink stream. A forge can show "+15 −3" on every check-in and file without running zit diff --numstat once per check-in.

No artifact, tag namespace, wire, or on-disk repository format changed. The crosslink record format is still crosslink 1.

Each file line in zit crosslink is now followed by a line giving what the file added and removed against the primary parent:

file M src/a.zig
lines 12 3
file A src/b.zig
lines 40 0
file M logo.png
lines - -

A consumer that parses only the lines it knows is unaffected: the stream has always promised that a consumer skips a line it does not know.

What it costs

Counting reads both sides of every changed file, so it is kept away from everything else:

Compatibility

Qualification

zig fmt --check, zig build test, e2e, smoke (19 scenarios), git-import-e2e, git-export-e2e, dst, and every fuzz target, plus the three-runner battery.