A Zig library that reads git repositories without running git, with log, show and diff output byte-identical to git's.

diff-tree: --check's separator, an empty --summary before --cc, error order

Three differences from git found on generated repositories: - Under --check, a described commit is separated from a patch with --stat by an empty line, not ---, as git was seen to write it (in log and show as well). - Before a combined patch, an empty --summary (or --dirstat) calls for the empty line whenever a patch is asked for, even when --cc then leaves every file out; it is no longer held back for the first file shown. - diff-tree reads its revisions and paths before it checks the options against each other (-s with --check, --combined-all-paths, --stdin with --merge-base and the rest), and after --find-object, the format and the date mode, as git was seen to order its errors. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01P9FTtTrkEbuvbZnRyJCBir


Author jcollie.dev
Co-author Claude Opus 5.5 Date Commit Parent 5bfce437