Re: What's cooking in git.git (Dec 2013, #03; Thu, 12)
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Dec 13, 2013, 01:05 UTC
- Message-ID
- <CACsJy8AMu9tiPBXXi3VKZ=nWub0nNt+6UTgGYRpudGxi7xzUnw@mail.gmail.com>
- In-Reply-To
- <xmqqwqj9r2ig.fsf@gitster.dls.corp.google.com>
On Fri, Dec 13, 2013 at 7:57 AM, Junio C Hamano <gitster@pobox.com> wrote:
Show 8 quoted lines
> * 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