Re: [PATCH v2 1/2] Document limited recursion pathspec matching with wildcards
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Jan 15, 2012, 09:48 UTC
- Message-ID
- <CACsJy8BsautpfSARoGgRzCXANAoXP9e_786iBh0wWy=iyNXmew@mail.gmail.com>
- In-Reply-To
- <7vfwfhwuzd.fsf@alter.siamese.dyndns.org>
2012/1/15 Junio C Hamano <gitster@pobox.com>:
Show 9 quoted lines
>> @@ -79,6 +79,9 @@ OPTIONS >> --max-depth <depth>:: >> For each <pathspec> given on command line, descend at most <depth> >> levels of directories. A negative value means no limit. >> + This option is ignored if <pathspec> contains active wildcards. >> + In other words if "a*" matches a directory named "a*", >> + "*" is matched literally so --max-depth is still effective. > > Do we have a definition of "active wildcard"?
Probably not. I did not know how to phrase it and ended up with "active wildcard" and an example for clarification.
-- Duy