Re: [PATCH 7/8] setup_tree_pathspec(): interpret '^' as negative pathspec
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 14, 2010, 16:06 UTC
- Message-ID
- <7viq288g2z.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <1283961023-4491-8-git-send-email-pclouds@gmail.com>
Nguyễn Thái Ngọc Duy <pclouds@gmail.com> writes:
> This patch does preparation work for tree exclusion in > tree_entry_interesting(). '^' has similar meaning to '!' in > gitexcludes. '!' is not used because bash does not like arguments with > a leading '!'.
Do not even mention gitexcludes as you have to make awkward excuse like this.
Instead say something like
'^' works exactly like prefix '^' for revs (e.g. "log ^maint master")
to mark what is prefixed is excluded.