From: Junio C Hamano Date: Wed, 22 Feb 2023 22:55:44 +0000 (-0800) Subject: Merge branch 'ab/the-index-compatibility' X-Git-Tag: v2.40.0-rc0~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=24fb150dcd6b18b6d14ed14a02c6a17c33f0d443;p=thirdparty%2Fgit.git Merge branch 'ab/the-index-compatibility' Remove more remaining uses of macros that relies on the_index singleton instance without explicitly spelling it out. * ab/the-index-compatibility: cocci & cache.h: remove "USE_THE_INDEX_COMPATIBILITY_MACROS" cache-tree API: remove redundant update_main_cache_tree() cocci & cache-tree.h: migrate "write_cache_as_tree" to "*_index_*" cocci & cache.h: apply pending "index_cache_pos" rule cocci & cache.h: fully apply "active_nr" part of index-compatibility builtin/rm.c: use narrower "USE_THE_INDEX_VARIABLE" --- 24fb150dcd6b18b6d14ed14a02c6a17c33f0d443