summaryrefslogtreecommitdiff
path: root/xdiff-interface.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2007-04-01 23:26:07 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2007-04-22 22:53:54 -0700
commit4aab5b46f44a7ba860e07a52be506b7b57b2bd5f (patch)
tree7096edf9a3f1d61fc9d193f3482dca34558f5405 /xdiff-interface.c
parentMove index-related variables into a structure. (diff)
downloadtgif-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 'xdiff-interface.c')
0 files changed, 0 insertions, 0 deletions