diff options
author | Junio C Hamano <junkio@cox.net> | 2007-04-01 23:26:07 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-04-22 22:53:54 -0700 |
commit | 4aab5b46f44a7ba860e07a52be506b7b57b2bd5f (patch) | |
tree | 7096edf9a3f1d61fc9d193f3482dca34558f5405 /test-delta.c | |
parent | Move index-related variables into a structure. (diff) | |
download | tgif-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 'test-delta.c')
0 files changed, 0 insertions, 0 deletions