From: Junio C Hamano Date: Thu, 26 May 2005 04:44:31 GMT Subject: Re: [PATCH] ls-tree matching a prefix Message-ID: <7vsm0aeguo.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20050526034756.GA1488@port.evillabs.net> >>>>> "JM" == Jason McMullan 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.