Re: diff attribute ignored by show and log -p
- From
Jay Soffian <jaysoffian@gmail.com>
- Date
- Dec 17, 2009, 05:23 UTC
- Message-ID
- <76718490912162123r49f9bd90n8e032c144d0cdbac@mail.gmail.com>
- In-Reply-To
- <76718490912162046k36e2a275gaf7672b38c7a63e4@mail.gmail.com>
On Wed, Dec 16, 2009 at 11:46 PM, Jay Soffian <jaysoffian@gmail.com> wrote:
Show 15 quoted lines
> % 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?
Ah, --ext-diff, and the reasoning behind requiring it for log/show is explained in 72909be.
j.