RIFF(1)

πŸ“¦ version 3.6.0, in ubuntu resolute, ubuntu stonking

πŸ’– RIFF(1) β€” the riff girlie manual page πŸ’–

okay so bestie, welcome to riff, section 1 of the manual. buckle up, this one's a banger πŸŽ€


✨ NAME ✨

riff β€” a diff filter that highlights the changed parts of every line πŸ’…


🌸 SYNOPSIS 🌸

diff ... | riff [options...]
riff [-b] [-w] [options...] <FD1> <FD2>
riff [-b] [-w] [options...] --file <FILE>

πŸ¦‹ Arguments:

  • [FD1] β€” the first file or directory to compare
  • [FD2] β€” the second file or directory to compare

πŸ’œ DESCRIPTION πŸ’œ

It colors your diff output and highlights the changed parts of every line. like, it looks at your diff and goes "okay here's exactly what changed" and makes it pop. literally the glow-up your diffs have been begging for ✨

🫢 Git integration:

drop these in and your git diffs get the treatment automatically, no cap:

git config --global pager.diff riff
git config --global pager.show riff
git config --global pager.log riff
git config --global interactive.diffFilter "riff --color=on"

πŸ‘‘ OPTIONS πŸ‘‘

  • -f, --file <FILE> β€” read a diff or patch file instead πŸ“„
  • -b, --ignore-space-change β€” ignore changes in the amount of whitespace (so a lil extra space won't trip it up)
  • -w, --ignore-all-space β€” ignore all whitespace, every single bit of it 🧚
  • --no-pager β€” don't page the result. it just prints and leaves, no scrolling shenanigans
  • --no-adds-only-special β€” bestie this one has no effect, it's been replaced by --unchanged-style. it's giving legacy, it's giving ghost of options past πŸ’€
  • --unchanged-style <UNCHANGED_STYLE> β€” how will the unchanged line parts be styled? the moment of truth πŸŽ€
    • possible values:
      • yellow β€” unchanged text is yellow, old unchanged is faint
      • red-green β€” legacy mode
  • --color <COLOR> β€” possible values:
    • on
    • off
    • auto β€” color if stdout is a terminal
  • -h, --help β€” print help (see a summary with -h) 🫢
  • -V, --version β€” print version

😭 REPORTING BUGS 😭

found something cursed? report issues at <https://github.com/walles/riff>. do it, the maintainers want to know fr fr


Copyright (c) 2021 Johan Walles <johan.walles@gmail.com>


and that's the whole page, bestie 🌈 you just read riff version 3.6.0, and this manual was dated February 2026. iconic behavior from everyone involved. periodt πŸ’…βœ¨

πŸ“¦ where this page comes from