On Fri, Dec 13, 2013 at 7:57 AM, Junio C Hamano [off-list ref] wrote:
* nd/negative-pathspec (2013-12-06) 3 commits
(merged to 'next' on 2013-12-12 at 9f340c8)
+ pathspec.c: support adding prefix magic to a pathspec with mnemonic magic
+ Support pathspec magic :(exclude) and its short form :!
+ glossary-content.txt: rephrase magic signature part
Introduce "negative pathspec" magic, to allow "git log . ':!dir'" to
tell us "I am interested in everything but 'dir' directory".
A bit off topic, but that command does not work as-is. We need '--' to
separate pathspec.
$ ./git log . :\!t
fatal: :!t: no such path in the working tree.
Use 'git <command> -- <path>...' to specify paths that do not exist locally.
Something to be improved later..
--
Duy