Re: What's cooking in git.git (Dec 2013, #03; Thu, 12)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 13, 2013 at 7:57 AM, Junio C Hamano <gitster@xxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]