decoupling a submodule's existence and its url
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest10 patches 35 repliesIn review
- v211 patches 6 repliesSuperseded
- v110 patches 10 repliesSuperseded
Changes in v3 from the cover letter
* Droped a patch which tried to use a more accurate URL for deinit. It didn't really fit inside the scope of this series. It may be something we want to revisit later though.
* The --init-active flag now ensure that all submodules which are configured to be 'active' (either via 'submodule.active' or 'submodule.<name>.active') go through the initialization phase and have their relevent info copied over to the config.
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | submodule--helper: add is_active commandbuiltin/ t/ | +42 | 3 replies | |
| 2/10 | submodule status: use submodule--helper is-activegit-submodule.sh | +1 | 6 replies | |
| 3/10 | submodule sync: use submodule--helper is-activegit-submodule.sh | +1 | 2 replies | |
| 4/10 | submodule--helper clone: check for configured submodules using helperbuiltin/ | +3 | 4 replies | |
| 5/10 | submodule: decouple url and submodule existenceDocumentation/ submodule.c t/ | +100 | 5 replies | |
| 6/10 | submodule update: add `--init-active` switchDocumentation/ builtin/ git-submodule.sh +1 more | +123 | 4 replies | |
| 7/10 | clone: add --submodule-spec=<pathspec> switchDocumentation/ builtin/ t/ | +120 | 3 replies | |
| 8/10 | completion: clone can initialize specific submodulescontrib/ | +1 | 0 replies | |
| 9/10 | submodule--helper init: set submodule.<name>.activebuiltin/ | +7 | 3 replies | |
| 10/10 | submodule add: respect submodule.active and submodule.<name>.activegit-submodule.sh t/ | +33 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 00/10] decoupling a submodule's existence and its url
changes in v3:
* Droped a patch which tried to use a more accurate URL for deinit. It didn't really fit inside the scope of this series. It may be something we want to revisit later though.
* The --init-active flag now ensure that all submodules which are configured to be 'active' (either via 'submodule.active' or 'submodule.<name>.active') go through the initialization phase and have their relevent info copied over to the config.
Brandon Williams (10):
submodule--helper: add is_active command
submodule status: use submodule--helper is-active submodule sync: use submodule--helper is-active submodule--helper clone: check for configured submodules using helper
submodule: decouple url and submodule existence
submodule update: add --init-active switch
clone: add --submodule-spec=<pathspec> switch
completion: clone can initialize specific submodules submodule--helper init: set submodule.<name>.active submodule add: respect submodule.active and submodule.<name>.active
Documentation/config.txt | 15 +++- Documentation/git-clone.txt | 23 ++++-- Documentation/git-submodule.txt | 9 +++ builtin/clone.c | 36 +++++++++- builtin/submodule--helper.c | 68 ++++++++++++++---- contrib/completion/git-completion.bash | 1 + git-submodule.sh | 43 +++++++++-- submodule.c | 36 ++++++++-- t/t7400-submodule-basic.sh | 128 +++++++++++++++++++++++++++++++++ t/t7413-submodule-is-active.sh | 107 +++++++++++++++++++++++++++ 10 files changed, 431 insertions(+), 35 deletions(-) create mode 100755 t/t7413-submodule-is-active.sh
Signature · 1 line
2.12.0.246.ga2ecc84866-goog