diff-tree: -c, --cc, -v, --pretty, --format, --merge-base
zig-git diff-tree now shows a merge as a combined diff (-c, --cc, --combined-all-paths), compares two commits' merge base with the second (--merge-base), and with -v, --pretty, --format or --oneline describes each commit as git log would in place of its line, as git was seen to: object IDs whole unless --abbrev is given, none of the log.* settings or format.pretty read, email without [PATCH], log's separators, and --always writing the commit once where nothing differs. --first-parent changes nothing, as in git. Found against git along the way, and fixed for every command that shares the code: a combined patch's index line takes the repository's abbreviation whatever --abbrev says; the empty line before a combined patch after --dirstat or an empty --summary; a type change written as M in a combined diff; the combined diff's names, mode lines and "Binary files differ" written past --line-prefix; the zero object ID lengthened in the raw formats like any other; --cc showing a stretch whose changes different parents make; diff-tree's --dirstat going into subtrees, and --find-copies-harder taking only top-level files without -r. A combined diff that would merge more than 2^26 pairs of lines the parents lost at one place is refused rather than made in gigabytes (as git makes it): commits given made-up parents on --stdin drove one run past 7 GB. Refused by name where git's answer was not established: a merge's combined diff with -t, -R, --relative, --diff-filter, --quiet, --exit-code or --check; --dirstat with -t; --line-prefix with a format: string; and the revision-walking options diff-tree takes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01P9FTtTrkEbuvbZnRyJCBir