Skip to content

fix recursive submodule absorbing

Stefan Beller git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 3 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Add gentle version of resolve_git_dircache.h setup.c+5 -30 replies
2/3cache.h: expose the dying procedure for reading gitlinkscache.h setup.c+27 -220 replies
3/3submodule absorbing: fix worktree/gitdir pointers recursively for non-movessubmodule.c t/t7412-submodule-absorbgitdirs.sh+61 -95 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCHv2 0/3] fix recursive submodule absorbing

In this second iteration, only absorb_git_dir_into_superproject is touched, which does the check if connect_work_tree_and_git_dir is needed.

Internally I also had a patch that converts is_submodule_populated to be gentle, but it is not needed here, so I dropped it before sending out.

Thanks,
Stefan

Stefan Beller (3):
Add gentle version of resolve_git_dir
cache.h: expose the dying procedure for reading gitlinks submodule absorbing: fix worktree/gitdir pointers recursively for
non-moves

 cache.h                            |  5 +++-
 setup.c                            | 52 ++++++++++++++++++++------------------
 submodule.c                        | 43 ++++++++++++++++++++++++-------
 t/t7412-submodule-absorbgitdirs.sh | 27 ++++++++++++++++++++
 4 files changed, 93 insertions(+), 34 deletions(-)
Signature · 1 line
2.11.0.495.g04f60290a0.dirty