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

Describe commits as git log does, and answer log, show and check-mailmap

pretty writes the built-in formats and format strings of git log --pretty to an Io.Writer: every placeholder that needs no decorations, notes, signatures or reflogs, with padding, truncation, wrapping, colors, magic and %(trailers), down to git's handling of NULs, control characters and placeholders it cannot answer, found by comparing with git over thousands of generated formats and awkward commits. grep chooses commits by message and identity. The walk takes a filter for the searches, and orders commits by the commit date git reads, which is narrower than the committer line it shows. zig-git log walks as rev-list does and describes what it lists; rev-list takes the same formats; show -s shows commits, tags, trees and blobs; check-mailmap maps contacts. What needs diffs, decorations, notes, signatures or another encoding is refused by name. 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 83c5da7c