Skip to content

Persistent submodule pathspec specification

Stefan Beller git 4 versions New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 0 repliesNew
  2. v32 patches 1 replySuperseded
  3. v22 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches0 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3submodule update: add `--init-default-path` switchDocumentation/config.txt Documentation/git-submodule.txt git-submodule.sh +1 more+88 -60 replies
2/3clone: add --init-submodule=<pathspec> switchDocumentation/git-clone.txt builtin/clone.c t/t7400-submodule-basic.sh+131 -90 replies
3/3completion: clone can recurse into submodulescontrib/completion/git-completion.bash+2 -00 replies

Reviews trailers per patch

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

Read the v4 thread

Cover letter [PATCHv4 0/3] Persistent submodule pathspec specification

This is a reroll of origin/sb/submodule-default-paths.

It is based on top of the current origin/sb/pathspec-label (d8e47e7d5c62e, 2016-06-02 pathspec: disable preload-index when attribute pathspec magic is in use) which got merged with the current origin/sb/clone-shallow-passthru (d22eb0447,
clone: add --shallow-submodules flag, 2016-04-25)

As the merge itself produced merge conflicts, you can find my version of resolving the merge at [1].

After the resolved conflict, this reroll
* fixes 2 typos:
s/Pass ultiple/Pass multiple/ in builtin/clone.c and s/submodulespec/pathspec/ in Documentation/git-clone.txt
* adds another patch on top for bash completion of clone to include

    --recurse and --init-submodule

Thanks,
Stefan

[1] https://github.com/stefanbeller/git/tree/submodule-default-paths

Stefan Beller (3):
submodule update: add --init-default-path switch
clone: add --init-submodule=<pathspec> switch
completion: clone can recurse into submodules

 Documentation/config.txt               |   5 ++
 Documentation/git-clone.txt            |  23 ++++--
 Documentation/git-submodule.txt        |  13 +++-
 builtin/clone.c                        |  36 ++++++++-
 contrib/completion/git-completion.bash |   2 +
 git-submodule.sh                       |  23 +++++-
 t/t7400-submodule-basic.sh             | 134 +++++++++++++++++++++++++++++++++
 7 files changed, 221 insertions(+), 15 deletions(-)
Signature · 1 line
2.8.2.141.g4e46f88