dir: stop using the index compatibility macros
commit12cd0bf9b0291bb9a688c197a413d19f3c54710e
authorBrandon Williams <bmwill@google.com>
Fri, 5 May 2017 19:53:21 +0000 (5 12:53 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 6 May 2017 10:15:38 +0000 (6 19:15 +0900)
tree2685dc9eea9bc0a86deb1af55a30880689c7191e
parent4fa66c85f11bc5a541462ca5ae3246aa0ce02e74
dir: stop using the index compatibility macros

In order to make it clearer where the_index is being referenced, stop
using the index compatibility macros in dir.c.  This is to make it
easier to identify the functions which need to be convert to taking in a
'struct index_state' as a parameter.

The end goal would be to eliminate the need to reference global index
state in dir.c.

Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
dir.c