On Fri, Jul 20, 2018 at 11:04 PM Joseph Myers <jos...@codesourcery.com> wrote: > > On Thu, 5 Jul 2018, Aldy Hernandez wrote: > > > However, even if you could "git log --grep" the commit messages, I assume > > your > > current use is grepping for function names and such, right? Being able to > > grep > > a commit message won't solve that problem, or am I missing something? > > If you know what function and file you're interested in, you can use git > log -L to find changes to it (I've used that in the GCC context before), > or of course other tools such as git blame.
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 .... Richard. > > -- > Joseph S. Myers > jos...@codesourcery.com