blog

SEAN K.H. LIAO

diff tools

12020-10-25 update

git-delta is basically perfect

orig

I use git in a terminal, and I want:

basically what Github has

note

git diff calls external tools with 7 args:

path old-file old-hex old-mode new-file new-hex new-mode

meaning in most cases you need a basic wrapper script to pass just $2 and $5

#!/bin/sh
your-diff-tool "$2" "$5"

options

tldr: side by side only with python or vim/nvim