On Thu, Aug 25, 2016 at 11:14:49AM +0100, Richard Earnshaw (lists) wrote: > On 24/08/16 02:55, Segher Boessenkool wrote: > > > If you make a ".gitattributes" > > somewhere in your tree (I have it in the gcc/ subdir), containing > > > > *.md diff=md > > > > and then in your git config (say, in .git/config in the GCC source tree) > > you have > > > > [diff "md"] > > xfuncname = "^\\(define.*$" > > > > then magic happens. > > Which sort of begs the question as to why nobody has proposed at least > the top bit for GCC's toplevel .gitattributes file.
Because it will do no good without the second part (which is more complicated, so anyone doing that can easily do the first part), and only the first part on its own does only hurt, not help. Segher