Re: [PATCH v2 00/12] revamping git_check_attr() API

2016-05-18 Thread Junio C Hamano
Stefan Beller writes: >> The patches in the earliest part of the series have been sent to the >> list already; there is no substantial change (I think I made a >> typofix in the commit log message found by Eric). > > and a new patch got added here: > > attr.c: tighten

Re: [PATCH v2 00/12] revamping git_check_attr() API

2016-05-18 Thread Stefan Beller
> The patches in the earliest part of the series have been sent to the > list already; there is no substantial change (I think I made a > typofix in the commit log message found by Eric). and a new patch got added here: attr.c: tighten constness around "git_attr" structure I cannot find it

[PATCH v2 00/12] revamping git_check_attr() API

2016-05-16 Thread Junio C Hamano
A common pattern to check N attributes for many paths is to (1) prepare an array A of N git_attr_check_elem items; (2) call git_attr() to intern the N attribute names and fill A; (3) repeatedly call git_check_attrs() for path with N and A; A look-up for these N attributes for a single path P