About this project

diff-so-fancy is a command-line tool that reformats `git diff` and unified `diff` output to make changes easier to scan. Instead of the default machine-oriented format, it produces simplified hunk headers, strips leading `+`/`-` symbols, colorizes empty-line blocks, and can draw ruler lines using Unicode or ASCII. It is designed to work as a Git pager or diff filter, and can also be piped from `diff -u` for non-Git comparisons. Configuration is handled through Git config options such as `markEmptyLines`, `changeHunkIndicators`, `stripLeadingSymbols`, `useUnicodeRuler`, `rulerWidth`, `shortHeaders`, and `semIntegration`. Installation is available by copying the script from GitHub releases, cloning the repository, or using package managers including npm, Homebrew, Fedora, Arch, and a Debian/Ubuntu PPA. The project is MIT licensed and welcomes contributions targeting the `next` branch.