Re: [PATCH 0/4] attr directory matching regression

2013-03-26 Thread Junio C Hamano
Nguyễn Thái Ngọc Duy writes: > I think the fix is something like this. There is still one thing I'd > like to do: make this code not rely on NUL for terminating the > patterns. That should remove the ugly "p[len] = '\0'" in > prepare_attr_stack() 4/4 and and the reallocation in add_exclude() (in

[PATCH 0/4] attr directory matching regression

2013-03-24 Thread Nguyễn Thái Ngọc Duy
I think the fix is something like this. There is still one thing I'd like to do: make this code not rely on NUL for terminating the patterns. That should remove the ugly "p[len] = '\0'" in prepare_attr_stack() 4/4 and and the reallocation in add_exclude() (in current code). But let's deal with the