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

Re: What's cooking in git.git (Sep 2022, #01; Mon, 5)

From
Glen Choo <chooglen@google.com>
Date
Sep 9, 2022, 16:56 UTC
Message-ID
<kl6lmtb88p1q.fsf@chooglen-macbookpro.roam.corp.google.com>
In-Reply-To
<xmqqpmg5rehf.fsf@gitster.g>
Junio C Hamano <gitster@pobox.com> writes:
Show 23 quoted lines
> Glen Choo <chooglen@google.com> writes:
>
>> Junio C Hamano <gitster@pobox.com> writes:
>>
>>> * gc/submodule-propagate-branches (2022-08-29) 6 commits
>>>  - clone, submodule update: check out branches
>>>  - submodule--helper: refactor up-to-date criterion
>>>  - submodule: return target of submodule symref
>>>  - t5617: drop references to remote-tracking branches
>>>  - repo-settings: add submodule_propagate_branches
>>>  - clone: teach --detach option
>>>
>>>  "git clone --recurse-submodules" and "git submodule update" learns
>>>  to honor the "propagete branches" option.
>>>
>>>  Needs review.
>>>  source: <pull.1321.git.git.1661806456.gitgitgadget@gmail.com>
>>
>> I suggest renaming the branch - the config "submodule.propagateBranches"
>> will be used by many more commands in the future, several of which will
>> probably be authored by me :)
>
> OK.  So this is a "clone" and "update" part of the larger topic?

Yup; submodule.propagateBranches is the "branching" part of the submodule UX work that the Google team is working on.

>> Maybe gc/submodule-update-with-branches? Or
>> gc/recursive-clone-with-branches.
>
> Both sound good suggestions.

Ok, I think gc/recursive-clone-with-branches captures the intent better (the improvements to `git submodule update` are more of an implementation detail).

Thanks!
Previous: Junio C Hamano
Message 6 of 6 in “What's cooking in git.git (Sep 2022, #01; Mon, 5)”
  1. Junio C HamanoSep 6, 2022
  2. en/remerge-diff-fixes (Was: Re: What's cooking in git.git (Sep 2022, #01; Mon, 5))Elijah Newren, Sep 6, 2022
  3. Junio C HamanoSep 7, 2022
  4. Glen ChooSep 7, 2022
  5. Junio C HamanoSep 8, 2022
  6. Glen ChooSep 9, 2022

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.