From: Junio C Hamano Date: Tue, 20 Nov 2012 19:47:53 GMT Subject: Re: [PATCH 3/4] pathspec: apply "*.c" optimization from exclude Message-ID: <7vlidwrr86.fsf@alter.siamese.dyndns.org> In-Reply-To: Nguyen Thai Ngoc Duy writes: >> When you come to strcmp(), you see that string_len is 1, pattern_len >> is 3, and pattern is "oob". string+string_len-pattern_len = "oob", >> one past the beginning of the original string "foob". They match. >> >> Oops? > > Oops indead. I'll need to check exclude code too :( Ok, the one queued on 'pu' has been locally fixed when I sent the message you are responding to.