ハイライト
普段とは別の環境の~/.gitconfigを弄ってdiff-highlightを使えるように
[pager] log = diff-highlight | less show = diff-highlight | less diff = diff-highlight | less
と追加した。
ただ、git diffをしてみたら
fatal: bad config value for 'pager.diff' in /home/xxx/.gitconfig
とエラーが出てしまった。
git version 1.7.1 はダメだったけど、git version 1.9.3 (Apple Git-50) macの方は行けた。
調べている時間があまり取れなかったのでとりあえず
git config --global core.pager 'diff-highlight | less'
として動くようにした。
後で原因を調べる。