diff attribute ignored by show and log -p
- From
Jay Soffian <jaysoffian@gmail.com>
- Date
- Dec 17, 2009, 04:46 UTC
- Message-ID
- <76718490912162046k36e2a275gaf7672b38c7a63e4@mail.gmail.com>
% cat .git/info/attributes *.xib diff=xibdiff % cat $(git config diff.xibdiff.command) #!/bin/sh trap "rm -f \"$2.tmp\" \"$5.tmp\"" 0 1 2 3 15 ibtool --all "$2" > "$2".tmp ibtool --all "$5" > "$5".tmp colordiff -u "$2.tmp" "$5.tmp"
Works great for things like:
% git diff <commit1> <commit2> -- /path/to/*.xib
But is apparently ignored by "git log -p" and "git show" which just use internal diff. Is this behavior intentional?
j.