Re: [PATCH 3/4] pathspec: apply "*.c" optimization from exclude
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 20, 2012, 19:47 UTC
- Message-ID
- <7vlidwrr86.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <CACsJy8C=vdvHYgMr8Qa7M+Mq=QO6p6dsOFm_ZW=Nf2VQrPwaMg@mail.gmail.com>
Nguyen Thai Ngoc Duy <pclouds@gmail.com> writes:
Show 7 quoted lines
>> 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.