On 08/02/2020 16:50, Segher Boessenkool 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).


Segher



Just for anyone interested -- the manpage that describes the '!' is `gitglossary`.

It's under the description of `pathspec`, and has a long-form of `:(exclude)`.

http://man7.org/linux/man-pages/man7/gitglossary.7.html

MM


Reply via email to