Re: [PATCH 02/24] cache-tree: wrap the_index based wrappers with #ifdef
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 13, 2018, 21:18 UTC
- Message-ID
- <xmqq8t5a3qzr.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <20180813161441.16824-3-pclouds@gmail.com>
Nguyễn Thái Ngọc Duy <pclouds@gmail.com> writes:
Show 6 quoted lines
> 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 these functions anymore.
Makes sense.