HN Hall of Fame Weekly email

Delta: A syntax-highlighting pager for Git, diff, grep, and blame output

Screenshot of github.com captured 2026-07-20
Page preview · captured 2026-07-20

Resurfaced independently across 6 calendar years, with breakout response in 2 of them.

submissions
13
submitters
9
observed span
2019–2024
peak thread · 92 comments
642 pts
latest 20+ return · 2024-11-08
642 pts

Submission timeline

2007–2026

One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.

First comments on top threads

HN comment order

Delta has been one of those set and forget things, it's been a while since I've seen 'bare' git grep/diff/blame output, I also use it all the time for normal diffs (outside of git repos), but TIL that it also works with ripgrep [0] As someone else already mentioned there is also bat[1], which was also set and forget, I aliased cat to bat and have a seperate alias vcat for 'vanilla cat' /usr/bin/cat [0] https://dandavison.github.io/delta/grep.html [1] https://github.com/sharkdp/bat

This is neat. In a similar fashion I'm a big fan of diff-highlight, [0] which post-processes the git diff and highlights with color the differing segments. It's super lightweight and part of the official git repo; I've saved it as a standalone #!/bin/perl in my $PATH and then included it in my .gitconfig: [pager] log = /Users/user/.bin/diff-highlight | less show = /Users/user/.bin/diff-highlight | less diff = /Users/user/.bin/diff-highlight | less [0]: https://github.com/git/git/tree/master/contrib/diff-highligh...

apas·261-point thread·

Demo https://www.youtube.com/watch?v=91p1Fp7Db5c

auraham·3-point thread·

Delta[0] applies syntax highlighting to the code sections of git and diff output, and uses background colors (instead of +/-) to indicate added / removed content. It's written in Rust, and uses the same syntax highlighting library as bat[1]. In fact, any bat configuration that you already have in place (environment variables, custom themes/language support) is automatically honored by delta. Delta also infers and highlights substrings that differ between lines (similar to Github, Gitlab and other diff viewers) and…

The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.

Breakout years
2

100+ points or 50+ comments

Total points
932

reference only — not used in Hall rules or ranking

Total comments
138

reference only — not used in Hall rules or ranking

Every submission