Skip to content

convert submodule.c to not use the index compat macros

Brandon Williams git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3submodule: convert stage_updated_gitmodules to take a struct index_statebuiltin/mv.c builtin/rm.c submodule.c +1 more+5 -50 replies
2/3submodule: used correct index in is_staging_gitmodules_oksubmodule.c submodule.h+4 -31 reply
3/3submodule: convert get_next_submodule to not rely on the_indexbuiltin/fetch.c submodule.c submodule.h+22 -150 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] convert submodule.c to not use the index compat macros

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(-)
Signature · 1 line
2.15.1.504.g5279b80103-goog