git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCHv4 0/3] Persistent submodule pathspec specification

From
Stefan Beller <sbeller@google.com>
Date
Jun 10, 2016, 23:07 UTC
Message-ID
<20160610230753.11641-1-sbeller@google.com>
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(-)
-- 
2.8.2.141.g4e46f88
Next: Stefan Beller
Message 1 of 4 in “[PATCHv4 0/3] Persistent submodule pathspec specification”
  1. Stefan BellerJun 10, 2016
  2. 3/3 completion: clone can recurse into submodulesStefan Beller, Jun 10, 2016
  3. 1/3 submodule update: add `--init-default-path` switchStefan Beller, Jun 10, 2016
  4. 2/3 clone: add --init-submodule=<pathspec> switchStefan Beller, Jun 10, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.