Skip to content

Submodules: have a depth field in the .gitmodules file

Stefan Beller git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3submodule update: make use of the existing fetch_in_submodule functiongit-submodule.sh+1 -12 replies
2/3submodule-config: keep `depth` aroundsubmodule-config.c submodule-config.h+17 -00 replies
3/3submodule update: learn `--recommended-depth` optionDocumentation/git-submodule.txt builtin/submodule--helper.c git-submodule.sh +1 more+57 -40 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] Submodules: have a depth field in the .gitmodules file

Sometimes the history of a submodule is not considered important by the projects upstream. To make it easier for downstream users, allow a field 'submodule.<name>.depth' in .gitmodules, which can be used to indicate the recommended depth.

Stefan Beller (3):
submodule update: make use of the existing fetch_in_submodule function
submodule-config: keep depth around
submodule update: learn --recommended-depth option

 Documentation/git-submodule.txt | 10 ++++++++--
 builtin/submodule--helper.c     |  8 +++++++-
 git-submodule.sh                | 11 +++++++++--
 submodule-config.c              | 16 ++++++++++++++++
 submodule-config.h              |  1 +
 t/t5614-clone-submodules.sh     | 34 ++++++++++++++++++++++++++++++++++
 6 files changed, 75 insertions(+), 5 deletions(-)
Signature · 3 lines
2.9.0.rc0.3.g892bdd0.dirty

base-commit: 3a0f269e7c82aa3a87323cb7ae04ac5f129f036b