This series removes the remaining users of the index compatibility macros and ensures that future uses of the macros will result in compiler errors. Brandon Williams (3): submodule: convert stage_updated_gitmodules to take a struct index_state submodule: used correct index in is_staging_gitmodules_ok submodule: convert get_next_submodule to not rely on the_index builtin/fetch.c | 4 +++- builtin/mv.c | 2 +- builtin/rm.c | 2 +- submodule.c | 32 ++++++++++++++++++-------------- submodule.h | 14 ++++++++------ 5 files changed, 31 insertions(+), 23 deletions(-) -- 2.15.1.504.g5279b80103-goog