Re: Custom hunk-header with ignore case setting

2014-10-15 Thread Junio C Hamano
Thomas Braun writes: > I've seen that the builtin diff patterns in userdiff.c can be > specified ignoring case using the IPATTERN macro. > > One of the possible solutions would be to patch userdiff.c > (patch courtesy of Johannes Schindelin): > > -- snip -- > diff --git a/userdiff.c b/userdiff.c

Custom hunk-header with ignore case setting

2014-10-15 Thread Thomas Braun
Hi, I'm working with a proprietary programming language which ignores case. I now started to write a custom version of diff.*.xfuncname and it is kind of ugly to always spell out all cases like [Ff][Uu][Nn][cC][Tt][Ii][oO][Nn]. I've seen that the builtin diff patterns in userdiff.c can be specifi