Re: PostScript files: textconv and "git add -p"
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Jan 9, 2011, 18:55 UTC
- Message-ID
- <vpqr5clsy8g.fsf@bauges.imag.fr>
- In-Reply-To
- <20110105051807.GB5884@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 5 quoted lines
> you can get what you want with: > > echo '*.ps diff=ps' >.gitattributes > git config diff.ps.textconv ps2ascii > git config diff.ps.binary true
Yes, this works great. Thanks.
Did I miss something, or is this undocumented? I can't find that in either man gitattributes or man git-config.
> PS Your question made me very happy. I implemented "diff.*.binary" the > way I did out of a vague sense of orthogonality, but I never quite > came up with a concrete example where it was useful to set both. > Thanks for providing one. :)
I vaguely remember such discussions, and may well have thought "hmm, yet another overkill stuff that nobody'll ever use" at that time ;-).
-- Matthieu Moy http://www-verimag.imag.fr/~moy/