Gitx has a great diff viewer, how do I make git automatically pipe git diff whatever into gitx?
I\'ve tried to set git config diff.external to a shell scrip
I'm using this script which I have named git-diffx and put in my path:
git-diffx
#!/bin/bash result=$(git diff $@) if [ "$result" ]; then echo "$result" | gitx fi
Then instead of git diff ..., you call git diffx ....
git diff ...
git diffx ...