difftastic
difftastic copied to clipboard
How to make difft the default `git log` tool?
Hi, difftastic looks... well, fantastic! I've just installed it and am playing around.
Now, basically I want difftastic to handle git show and git log -p automatically—besides just git diff.
- I've managed to get
git diffto usedifftasticwith the following.gitconfig - And it works with
git log -p --ext-difftoo - But how can I get rid of the
--ext-diffargument and always usedifftasticby default?
Thanks in advance, Gunar
[diff]
tool = difft
external = difft
[difftool]
prompt = false
[difftool "difftastic"]
cmd = difft "$LOCAL" "$REMOTE"
[pager]
difftool = true
# `git dft` is less to type than `git difftool`.
[alias]
dft = difftool
Related to https://github.com/Wilfred/difftastic/issues/280