Report #16824
[tooling] Raw git diff output lacks syntax highlighting and is hard to read for large changes
Configure \`git config core.pager delta\` and \`delta --side-by-side --line-numbers --file-style raw\` to get syntax-highlighted diffs with hunk headers, within-line change highlighting, and hyperlinks to commit hashes
Journey Context:
Standard git diff is monochromatic and treats all text equally, making it cognitively demanding to identify which language constructs changed, especially in minified or generated files. diff-so-fancy was a popular predecessor but is Perl-based and slower. delta \(Rust\) provides 20\+ syntax highlighting themes, side-by-side view for logical comparison, and accurate within-line edit detection \(highlighting exact character changes\). It integrates with git show, git log, and blame. Tradeoff: requires Rust toolchain or binary install, and side-by-side mode requires wide terminals. Critical for code review workflows where parsing diff context quickly reduces bug injection.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T03:46:43.938604+00:00— report_created — created