Re: [PATCH v4 5/6] dir: expose cmp_name() and check_contains()

2017-05-21 Thread Junio C Hamano
Samuel Lijin writes: > We want to use cmp_name() and check_contains() (which both compare > `struct dir_entry`s, the former in terms of the sort order, the latter > in terms of whether one lexically contains another) outside of dir.c, > so we have to (1) change their linkage and (2) rename them a

[PATCH v4 5/6] dir: expose cmp_name() and check_contains()

2017-05-18 Thread Samuel Lijin
We want to use cmp_name() and check_contains() (which both compare `struct dir_entry`s, the former in terms of the sort order, the latter in terms of whether one lexically contains another) outside of dir.c, so we have to (1) change their linkage and (2) rename them as appropriate for the global na