Skip to content

implement fetching of moved submodules

Heiko Voigt git 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 13 repliesIn review
  2. v3 RFC4 patches 13 repliesSuperseded
  3. v2 RFC2 patches 2 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v1 RFC2 patches5 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3fetch: add test to make sure we stay backwards compatiblet/t5526-fetch-submodules.sh+41 -11 reply
2/3implement fetching of moved submodulessubmodule-config.h submodule.c t/t5526-fetch-submodules.sh+138 -3812 replies
3/3submodule: simplify decision tree whether to or not to fetchsubmodule.c+37 -376 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchStefan Beller
1/3R-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/3] implement fetching of moved submodules

The previous RFC iteration can be found here:

https://public-inbox.org/git/20171006222544.GA26642@sandbox/

This should now be in a state ready for review for inclusion.

The main difference from last iteration is that we now also support unconfigured gitlinks for push and fetch for backwards compatibility.

To implement this compatibility we construct a default name for gitlinks if there is a repository found at their location in the worktree.

Cheers Heiko

Heiko Voigt (3):
fetch: add test to make sure we stay backwards compatible implement fetching of moved submodules
submodule: simplify decision tree whether to or not to fetch

 submodule-config.h          |   3 +
 submodule.c                 | 200 +++++++++++++++++++++++++++++---------------
 t/t5526-fetch-submodules.sh |  77 ++++++++++++++++-
 3 files changed, 210 insertions(+), 70 deletions(-)
Signature · 1 line
2.14.1.145.gb3622a4