Re: PostScript files: textconv and "git add -p"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jeff King <peff@xxxxxxxx> writes:

> 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/
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]