On Sat, Feb 08, 2020 at 03:55:33PM -0800, Andrew Pinski wrote: > On Sat, Feb 8, 2020 at 8:51 AM Segher Boessenkool > <seg...@kernel.crashing.org> wrote: > > > > On Fri, Feb 07, 2020 at 03:34:03PM -0700, Tom Tromey wrote: > > > >>>>> "Jason" == Jason Merrill <ja...@redhat.com> writes: > > > > > > Jason> I omit ChangeLogs by adding ':!*/ChangeLog' to the end of the git > > > Jason> send-email command. I don't remember where I found that > > > incantation. > > > > > > Cool, I did not know about this. > > > > Yeah, me neither. And it isn't something new, it is ancient. > > > > The manpage for this is "man gitrevisions". It doesn't explain the ! > > though, and not wildcards even. > > > > (dir.c in git.git, if you like spelunking). > > Note I was not able to get it to work with "git version 1.8.3.1" > (which is included with CentOS 7) but it worked with "git version > 2.17.1".
Not 2.0.0 either, as another data point. This works: git log -p master -- . ':!/*/*ChangeLog*' (But that is putting in more than just a refspec). Segher