Re: [PATCH] pathspec: rename per-item field has_wildcard to use_wildcard
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 8, 2011, 19:40 UTC
- Message-ID
- <7v62qo4jmp.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <4D9EC75F.1060901@drmicha.warpmail.net>
Michael J Gruber <git@drmicha.warpmail.net> writes:
> Maybe we can make the ":" literal
> when it can't be parsed, or make it do something (":/" as you
> suggested), because swallowing it and then doing nothing seems doubly bad.Another possible tweak would be to make ":" without even any "pattern" after it to become a no-element, in order to allow the same difference between "git log" and "git log ." to be expressed from within a subdirectory.
The difference matters when you have commits created with --allow-empty that are discarded by path based history simplification.