Move index-related variables into a structure.
authorJunio C Hamano <junkio@cox.net>
Mon, 2 Apr 2007 01:14:06 +0000 (18:14 -0700)
committerJunio C Hamano <junkio@cox.net>
Mon, 23 Apr 2007 05:53:54 +0000 (22:53 -0700)
commit228e94f93570b580da388069900c56b813c91953
tree34bac44f8bb3f08b493c1d8e7d1634b456063d3d
parent4280cde95fa4e3fb012eb6d0c239a7777baaf60c
Move index-related variables into a structure.

This defines a index_state structure and moves index-related
global variables into it.  Currently there is one instance of
it, the_index, and everybody accesses it, so there is no code
change.

Signed-off-by: Junio C Hamano <junkio@cox.net>
cache.h
read-cache.c