]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'ab/fewer-the-index-macros'
authorJunio C Hamano <gitster@pobox.com>
Mon, 28 Nov 2022 03:13:46 +0000 (12:13 +0900)
committerJunio C Hamano <gitster@pobox.com>
Mon, 28 Nov 2022 03:13:46 +0000 (12:13 +0900)
Progress on removing 'the_index' convenience wrappers.

* ab/fewer-the-index-macros:
  cocci: apply "pending" index-compatibility to some "builtin/*.c"
  cache.h & test-tool.h: add & use "USE_THE_INDEX_VARIABLE"
  {builtin/*,repository}.c: add & use "USE_THE_INDEX_VARIABLE"
  cocci: apply "pending" index-compatibility to "t/helper/*.c"
  cocci & cache.h: apply variable section of "pending" index-compatibility
  cocci & cache.h: apply a selection of "pending" index-compatibility
  cocci: add a index-compatibility.pending.cocci
  read-cache API & users: make discard_index() return void
  cocci & cache.h: remove rarely used "the_index" compat macros
  builtin/{grep,log}.: don't define "USE_THE_INDEX_COMPATIBILITY_MACROS"
  cache.h: remove unused "the_index" compat macros

1  2 
builtin/rebase.c
builtin/rev-parse.c
builtin/rm.c
builtin/submodule--helper.c
sequencer.c

Simple merge
Simple merge
diff --cc builtin/rm.c
Simple merge
Simple merge
diff --cc sequencer.c
Simple merge