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.