Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

Re: [PATCH] ls-tree matching a prefix

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:41:58

Possibly related (same subject, not in this thread)

quoted
quoted
quoted
quoted
"JM" == Jason McMullan [off-list ref] writes:
JM> For this purpose, I've enhanced git-ls-tree to allow the
JM> specification of an optional 'match path' that restricts
JM> that output of git-ls-tree to just the path requested.

JM> If the patch has a '/' in it, it implies -r.

I'd rather see the behaviour match existing commands with path
restriction, like diff-tree, diff-cache, and diff-files.  That
is, to take a list of paths and limit your output to those that
match one of them.  I do not think this enhancement would
negatively affect your stated use of getting one entry with the
exact match.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help