Re: [PATCH v2 14/45] Guard against new pathspec magic in pathspec matching code

2013-03-20 Thread Eric Sunshine
On Wed, Mar 20, 2013 at 8:16 AM, Nguyễn Thái Ngọc Duy wrote: > diff --git a/Documentation/technical/api-setup.txt > b/Documentation/technical/api-setup.txt > index 59a947e..f62528e 100644 > --- a/Documentation/technical/api-setup.txt > +++ b/Documentation/technical/api-setup.txt > @@ -28,3 +28,22

[PATCH v2 14/45] Guard against new pathspec magic in pathspec matching code

2013-03-20 Thread Nguyễn Thái Ngọc Duy
GUARD_PATHSPEC() marks pathspec-sensitive code, basically all those that touch anything in 'struct pathspec' except fields "nr" and "original". GUARD_PATHSPEC() is not supposed to fail. It's mainly to help the designers to catch unsupported codepaths. Signed-off-by: Nguyễn Thái Ngọc Duy --- Docu