Re: [PATCH v9 3/5] dir_iterator: add helpers to dir_iterator_advance

2017-04-17 Thread Junio C Hamano
Daniel Ferreira writes: > Create helpers to dir_iterator_advance(). Make dir_iterator_advance()'s > code more legible and allow some behavior to be reusable. > > Signed-off-by: Daniel Ferreira > --- This is the kind of change we typically call "refactoring" --- factoring out reusable helpers ou

[PATCH v9 3/5] dir_iterator: add helpers to dir_iterator_advance

2017-04-17 Thread Daniel Ferreira
Create helpers to dir_iterator_advance(). Make dir_iterator_advance()'s code more legible and allow some behavior to be reusable. Signed-off-by: Daniel Ferreira --- dir-iterator.c | 65 +- 1 file changed, 42 insertions(+), 23 deletions(-)