git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* appending a pattern to the default "diff.cpp.xfuncname"
@ 2016-08-03 10:16 Laszlo Ersek
  2016-08-03 18:02 ` Jeff King
  0 siblings, 1 reply; 5+ messages in thread
From: Laszlo Ersek @ 2016-08-03 10:16 UTC (permalink / raw)
  To: public git mailing list

Hi,

I've used diff.<TYPE>.xfuncname with great success for file <TYPE>s that
I defined myself. However, now I would like to append an extra pattern
to the TYPE=cpp case (for which git has builtin patterns). Is there an
easy way to do this?

I figured I could open-code the builtin patterns from "userdiff.c", and
then append my new pattern to those, but it looks kinda gross :)

Thanks!
Laszlo

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

end of thread, other threads:[~2016-08-03 19:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-03 10:16 appending a pattern to the default "diff.cpp.xfuncname" Laszlo Ersek
2016-08-03 18:02 ` Jeff King
2016-08-03 18:12   ` Laszlo Ersek
2016-08-03 18:34   ` Jakub Narębski
2016-08-03 18:40     ` Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).