From: Junio C Hamano Date: Sun, 14 Oct 2012 18:25:48 GMT Subject: Re: [PATCH] exclude: fix a bug in prefix comparison optimization Message-ID: <7vobk4ykpf.fsf@alter.siamese.dyndns.org> In-Reply-To: <7v8vb9yn09.fsf@alter.siamese.dyndns.org> Junio C Hamano writes: > Comparing the corresponding code in dir.c, there is no "compare the > literal prefix part with strcmp() before doing the fnmatch()" > optimization. Intended? > > (warning: I haven't had my caffeine yet) And it turns out that at the point I wrote the response, I still had the attr-match-optim-more updates to be read in my mailbox ;-)