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

ar/submodule-update (was Re: What's cooking in git.git (Jan 2022, #04; Fri, 14))

From
Glen Choo <chooglen@google.com>
Date
Jan 19, 2022, 00:38 UTC
Message-ID
<kl6llezcy2yr.fsf@chooglen-macbookpro.roam.corp.google.com>
In-Reply-To
<xmqqy23h4nss.fsf@gitster.g>
Junio C Hamano <gitster@pobox.com> writes:
Show 16 quoted lines
> * ar/submodule-update (2021-10-13) 9 commits
>  . submodule--helper: rename helper functions
>  . submodule--helper: remove unused helpers
>  . submodule: move core cmd_update() logic to C
>  . submodule--helper: run update using child process struct
>  . submodule--helper: allow setting superprefix for init_submodule()
>  . submodule--helper: refactor get_submodule_displaypath()
>  . submodule--helper: rename helpers for update-clone
>  . submodule--helper: get remote names from any repository
>  . submodule--helper: split up ensure_core_worktree()
>
>  Rewrite of "git submodule update" in C.
>
>  Expecting a reroll?
>  cf. <YWiXL+plA7GHfuVv@google.com>
>  source: <20211013051805.45662-10-raykar.ath@gmail.com>

How close are we to getting this into 'next'? Last I checked, it seemed like the only remaining piece is to rebase this onto es/superproject-aware-submodules.

I have some planned work that will teach "git fetch" how to clone newly added submodules (this is the issue described in the BUGS section of Documentation/git-fetch.txt). That work will probably use the same machinery as `git submodule update`, so I'm wondering whether it's better to base this new work off ar/submodule-update or master.

Previous: Junio C HamanoNext: Junio C Hamano
Message 11 of 13 in “What's cooking in git.git (Jan 2022, #04; Fri, 14)”
  1. Junio C HamanoJan 15, 2022
  2. Elijah NewrenJan 16, 2022
  3. Junio C HamanoJan 17, 2022
  4. ab/grep-patterntype (was: What's cooking in git.git (Jan 2022, #04; Fri, 14))Ævar Arnfjörð Bjarmason, Jan 18, 2022
  5. ab/config-based-hooks-2 (was: What's cooking in git.git (Jan 2022, #04; Fri, 14))Ævar Arnfjörð Bjarmason, Jan 18, 2022
  6. Glen ChooJan 18, 2022
  7. Emily ShafferJan 19, 2022
  8. Junio C HamanoJan 18, 2022
  9. ds/sparse-checkout-requires-per-worktree-config (was Re: What's cooking in git.git (Jan 2022, #04; Fri, 14))Derrick Stolee, Jan 18, 2022
  10. Junio C HamanoJan 18, 2022
  11. ar/submodule-update (was Re: What's cooking in git.git (Jan 2022, #04; Fri, 14))Glen Choo, Jan 19, 2022
  12. Junio C HamanoJan 19, 2022
  13. Phillip WoodJan 19, 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.