aboutsummaryrefslogtreecommitdiff
path: root/entry.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-04-01 23:26:07 -0700
committerJunio C Hamano <junkio@cox.net>2007-04-22 22:53:54 -0700
commit4aab5b46f44a7ba860e07a52be506b7b57b2bd5f (patch)
tree7096edf9a3f1d61fc9d193f3482dca34558f5405 /entry.c
parent228e94f93570b580da388069900c56b813c91953 (diff)
downloadgit-4aab5b46f44a7ba860e07a52be506b7b57b2bd5f.tar.gz
git-4aab5b46f44a7ba860e07a52be506b7b57b2bd5f.tar.xz
Make read-cache.c "the_index" free.
This makes all low-level functions defined in read-cache.c to take an explicit index_state structure as their first parameter, to specify which index to work on. These functions traditionally operated on "the_index" and were named foo_cache(); the counterparts this patch introduces are called foo_index(). The traditional foo_cache() functions are made into macros that give "the_index" to their corresponding foo_index() functions. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'entry.c')
0 files changed, 0 insertions, 0 deletions