pathspec magic: add '^' as alias for '!'
commit42ebeb9d07de3c6d3a263f8ebce0508e489e5cc9
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 8 Feb 2017 05:05:28 +0000 (7 21:05 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 10 Feb 2017 21:19:10 +0000 (10 13:19 -0800)
tree234f4e3d7bfc1e7464da0447fd2ba95b41aef93f
parent6e3a7b3398559305c7a239a42e447c21a8f39ff8
pathspec magic: add '^' as alias for '!'

The choice of '!' for a negative pathspec ends up not only not matching
what we do for revisions, it's also a horrible character for shell
expansion since it needs quoting.

So add '^' as an alternative alias for an excluding pathspec entry.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/glossary-content.txt
pathspec.c