This honors the preferences for showing differences in whitespacing when
using diff between single revisions/branches.
Signed-off-by: Johannes Gilger <heipei@hackvalue.de>
This allows you to do something like
gitx --diff
to display a diff similar to 'git diff', but with GitX prettification.
It accepts all git diff parameters, so you can do something like
gitx --diff HEAD~10
to show the diff compared to the last 10 commits. Or, you can something like
git diff | gitx
to pipe anything that produces a diff to GitX