This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ChangeLog's: do we have to?


On Mon, Jul 23, 2018 at 11:52:03AM +0200, Richard Biener wrote:
> Does -L "work" with codebases that become more and more C++?  I do realize
> that grepping ChangeLogs gets more difficult here as well given there are no
> clear rules how to "mangle" C++ function/entity names in ChangeLog entries.
> 
> Fortunately we're still mostly C ....

For example for .md files you can use

[diff "md"]
        xfuncname = "^\\(define.*$"

in your local clone's .git/config

and

*.md  diff=md

in .gitattributes (somewhere in the source tree).

I should make a patch for that.  Hrm.


Segher


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]