From: Linus Torvalds Date: Thu, 02 Apr 2009 16:36:46 GMT Subject: Re: [PATCH] match_tree_entry(): a pathspec only matches at directory boundaries Message-ID: In-Reply-To: <7vwsa3llac.fsf_-_@gitster.siamese.dyndns.org> On Wed, 1 Apr 2009, Junio C Hamano wrote: > > Previously the code did a simple prefix match, which means that a path in > a directory "frotz/" would have matched with pathspec "f". > > Signed-off-by: Junio C Hamano I have this suspicion that we should be able to write it more readably, but yes: Acked-by: Linus Torvalds because the current code is clearly buggy. Linus