Re: [PATCH 3/4] pathspec: apply "*.c" optimization from exclude
From: Junio C Hamano <hidden> Date: 2016-06-15 22:55:22
Nguyen Thai Ngoc Duy [off-list ref] writes:
quoted
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.