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

gc/submodule-use-super-prefix & ab/submodule-cleanup (was: What's cooking in git.git (Jul 2022, #01; Fri, 1))

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Jul 4, 2022, 08:12 UTC
Message-ID
<220704.8635fhb84h.gmgdl@evledraar.gmail.com>
In-Reply-To
<xmqqo7y85t44.fsf@gitster.g>
On Fri, Jul 01 2022, Junio C Hamano wrote:
Show 15 quoted lines
> * gc/submodule-use-super-prefix (2022-06-30) 8 commits
>  - submodule--helper: remove display path helper
>  - submodule--helper update: use --super-prefix
>  - submodule--helper: remove unused SUPPORT_SUPER_PREFIX flags
>  - submodule--helper: use correct display path helper
>  - submodule--helper: don't recreate recursive prefix
>  - submodule--helper update: use display path helper
>  - submodule--helper tests: add missing "display path" coverage
>  - Merge branch 'ab/submodule-cleanup' into gc/submodule-use-super-prefix
>  (this branch uses ab/submodule-cleanup.)
>
>  Another step to rewrite more parts of "git submodule" in C.
>
>  Will merge to 'next'?
>  source: <20220701021157.88858-1-chooglen@google.com>
[...]
Show 19 quoted lines
> * ab/submodule-cleanup (2022-06-28) 12 commits
>  - git-sh-setup.sh: remove "say" function, change last users
>  - git-submodule.sh: use "$quiet", not "$GIT_QUIET"
>  - submodule--helper: eliminate internal "--update" option
>  - submodule--helper: understand --checkout, --merge and --rebase synonyms
>  - submodule--helper: report "submodule" as our name in some "-h" output
>  - submodule--helper: rename "absorb-git-dirs" to "absorbgitdirs"
>  - submodule update: remove "-v" option
>  - submodule--helper: have --require-init imply --init
>  - git-submodule.sh: remove unused top-level "--branch" argument
>  - git-submodule.sh: make the "$cached" variable a boolean
>  - git-submodule.sh: remove unused $prefix variable
>  - git-submodule.sh: remove unused sanitize_submodule_env()
>  (this branch is used by gc/submodule-use-super-prefix.)
>
>  Further preparation to turn git-submodule.sh into a builtin.
>
>  Will merge to 'next'.
>  source: <cover-v4-00.12-00000000000-20220628T095914Z-avarab@gmail.com>

Thanks, with regards to gc/submodule-use-super-prefix that series gets my enthusiastic (if it helps):

	Reviewed-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Likewise the ab/submodule-cleanup parent topic has Glen's:
	Reviewed-by: Glen Choo <chooglen@google.com>

Per [1] and [2]. I.e. the latest is the v4, but the Reviewed-By was given to v3 in [1], and [4] notes on v4 that the one remaining concern was addressed.

Thanks both, it's great to see us this close to getting rid of another *.sh built-in. I plan to submit the migration to the builtin/submodule.c after these two land, possibly after some memory leak fixes to builtin/submodule--helper.c.

1. https://lore.kernel.org/git/kl6lh74aivc6.fsf@chooglen-macbookpro.roam.corp.google.com/
2. https://lore.kernel.org/git/kl6l1qv8ivcs.fsf@chooglen-macbookpro.roam.corp.google.com/
Previous: Junio C HamanoNext: Glen Choo
Message 2 of 10 in “What's cooking in git.git (Jul 2022, #01; Fri, 1)”
  1. Junio C HamanoJul 1, 2022
  2. gc/submodule-use-super-prefix & ab/submodule-cleanup (was: What's cooking in git.git (Jul 2022, #01; Fri, 1))Ævar Arnfjörð Bjarmason, Jul 4, 2022
  3. Glen ChooJul 6, 2022
  4. ds/rebase-update-re (was Re: What's cooking in git.git (Jul 2022, #01; Fri, 1))Derrick Stolee, Jul 4, 2022
  5. Junio C HamanoJul 4, 2022
  6. Elijah NewrenJul 4, 2022
  7. Derrick StoleeJul 4, 2022
  8. en/merge-dual-dir-renames-fix (Was: Re: What's cooking in git.git (Jul 2022, #01; Fri, 1))Elijah Newren, Jul 5, 2022
  9. gc/bare-repo-discovery (was Re: What's cooking in git.git (Jul 2022, #01; Fri, 1))Glen Choo, Jul 6, 2022
  10. Junio C HamanoJul 6, 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.