Skip to content

git checkout --recurse-submodules

Jonathan Nieder git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5submodule: prepare for recursive checkout of submodulessubmodule.c submodule.h+39 -01 reply
2/5submodule: teach unpack_trees() to remove submodule contentssubmodule.c submodule.h unpack-trees.c +1 more+44 -31 reply
3/5submodule: teach unpack_trees() to repopulate submodulesentry.c submodule.c submodule.h +1 more+65 -30 replies
4/5submodule: teach unpack_trees() to update submodulesentry.c submodule.c submodule.h +2 more+157 -170 replies
5/5Teach checkout to recursively checkout submodulesDocumentation/git-checkout.txt builtin/checkout.c submodule.c +2 more+251 -31 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [WIP/PATCH 0/5] git checkout --recurse-submodules

Hi,

This patch series comes from
https://github.com/jlehmann/git-submod-enhancements branch recursive_submodule_checkout. It needed some tiny tweaks to apply to current "master" and build without warnings, but nothing major, and I haven't sanity checked it much beyond that and letting the kind folks that use Debian experimental play with it.

I'm sending it out now to get review and ideas for what needs to happen next to get this series in shape to be included in git.git.

Thoughts of all kinds welcome.

Thanks,
Jonathan

Jens Lehmann (5):
submodule: prepare for recursive checkout of submodules
submodule: teach unpack_trees() to remove submodule contents
submodule: teach unpack_trees() to repopulate submodules
submodule: teach unpack_trees() to update submodules Teach checkout to recursively checkout submodules

 Documentation/git-checkout.txt |   8 ++
 builtin/checkout.c             |  14 +++
 entry.c                        |  19 +++-
 submodule.c                    | 217 ++++++++++++++++++++++++++++++++++++++++-
 submodule.h                    |  11 +++
 t/t2013-checkout-submodule.sh  | 215 +++++++++++++++++++++++++++++++++++++++-
 unpack-trees.c                 |  94 ++++++++++++++----
 unpack-trees.h                 |   1 +
 wrapper.c                      |   3 +
 9 files changed, 556 insertions(+), 26 deletions(-)