Re: [PATCH] doc: ls-tree paths do not support wildcards
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 28, 2020, 22:04 UTC
- Message-ID
- <xmqq4krz3edq.fsf@gitster.c.googlers.com>
- In-Reply-To
- <pull.796.git.git.1590700996483.gitgitgadget@gmail.com>
"Steven Willis via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 8 quoted lines
> From: Steven Willis <onlynone@gmail.com> > > Signed-off-by: Steven Willis <onlynone@gmail.com> > --- > doc: ls-tree paths do not support wildcards > > The documentation for ls-tree says that paths can be wildcards, but this > appears to be incorrect, only raw paths seem to work.
This is not something you would write after the three-dash line.
The documentation does not say paths can be wildcards. It allows a list of "patterns to match" and never says they are wildcards.
I think they take the traditional "leading paths" (i.e. by saying "git ls-tree HEAD t/", you can show all paths that are under t/, and is different from the "raw path" i.e. "git ls-tree HEAD t").