Git development
 help / color / mirror / Atom feed
* diff attribute ignored by show and log -p
@ 2009-12-17  4:46 Jay Soffian
  2009-12-17  5:23 ` Jay Soffian
  0 siblings, 1 reply; 5+ messages in thread
From: Jay Soffian @ 2009-12-17  4:46 UTC (permalink / raw)
  To: git

% 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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-12-17 20:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-17  4:46 diff attribute ignored by show and log -p Jay Soffian
2009-12-17  5:23 ` Jay Soffian
2009-12-17 13:17   ` Nanako Shiraishi
2009-12-17 16:44     ` Jay Soffian
2009-12-17 20:24       ` Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox