Re: [PATCH 02/24] cache-tree: wrap the_index based wrappers with #ifdef

2018-08-13 Thread Junio C Hamano
Nguyễn Thái Ngọc Duy writes: > This puts update_main_cache_tree() and write_cache_as_tree() in the > same group of "index compat" functions that assume the_index > implicitly, which should only be used within builtin/ or t/helper. > > sequencer.c is also updated to not use these functions. As

[PATCH 02/24] cache-tree: wrap the_index based wrappers with #ifdef

2018-08-13 Thread Nguyễn Thái Ngọc Duy
This puts update_main_cache_tree() and write_cache_as_tree() in the same group of "index compat" functions that assume the_index implicitly, which should only be used within builtin/ or t/helper. sequencer.c is also updated to not use these functions. As of now, no files outside builtin/ use