git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
To: Junio C Hamano <gitster@pobox.com>
Cc: git@vger.kernel.org, Glen Choo <chooglen@google.com>,
	Derrick Stolee <derrickstolee@github.com>
Subject: built-in-submodule & in-flight dependencies (was: What's cooking in git.git (Dec 2022, #07; Mon, 26))
Date: Wed, 28 Dec 2022 09:36:43 +0100	[thread overview]
Message-ID: <221228.864jtfvs0q.gmgdl@evledraar.gmail.com> (raw)
In-Reply-To: <xmqqcz86n8bn.fsf@gitster.g>


On Mon, Dec 26 2022, Junio C Hamano wrote:

> [...]
> [Cooking]
>
> * ab/no-more-git-global-super-prefix (2022-12-26) 9 commits
>  - read-tree: add "--super-prefix" option, eliminate global
>  - submodule--helper: convert "{update,clone}" to their own "--super-prefix"
>  - submodule--helper: convert "status" to its own "--super-prefix"
>  - submodule--helper: convert "sync" to its own "--super-prefix"
>  - submodule--helper: convert "foreach" to its own "--super-prefix"
>  - submodule--helper: don't use global --super-prefix in "absorbgitdirs"
>  - submodule.c & submodule--helper: pass along "super_prefix" param
>  - read-tree + fetch tests: test failing "--super-prefix" interaction
>  - submodule absorbgitdirs tests: add missing "Migrating git..." tests
>
>  Stop using "git --super-prefix" and narrow the scope of its use to
>  the submodule--helper.
>
>  Will merge to 'next'.
>  source: <cover-v5-0.9-00000000000-20221220T104519Z-avarab@gmail.com>
> [...]
> * ab/config-multi-and-nonbool (2022-11-27) 9 commits
>  - for-each-repo: with bad config, don't conflate <path> and <cmd>
>  - config API: add "string" version of *_value_multi(), fix segfaults
>  - config API users: test for *_get_value_multi() segfaults
>  - for-each-repo: error on bad --config
>  - config API: have *_multi() return an "int" and take a "dest"
>  - versioncmp.c: refactor config reading next commit
>  - config tests: add "NULL" tests for *_get_value_multi()
>  - config tests: cover blind spots in git_die_config() tests
>  - for-each-repo tests: test bad --config keys
>
>  Assorted config API updates.
>
>  Waiting for review.
>  source: <cover-v3-0.9-00000000000-20221125T093158Z-avarab@gmail.com>

I see that ab/no-more-git-global-super-prefix has landed in "next", I
was planning to submit the built-in submodule topic after it, i.e. the
change to get rid of git-submodule.sh.

But the post-cleanup in that topic of moving the relevant code from
builtin/submodule--helper.c to builtin/submodule.c would conflict with
ab/config-multi-and-nonbool, as some of it uses the *_multi() API.

Now, it would be relatively easy to solve those conflicts, but I'd also
like to make it easier for you, Junio.

So more reviews on that topic would be most welcome. It fixes quite a
few segfaults we currently have in-tree, so I'm a bit surprised at the
relative lack of interest.

      parent reply	other threads:[~2022-12-28  8:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-26  3:38 What's cooking in git.git (Dec 2022, #07; Mon, 26) Junio C Hamano
2022-12-26 10:52 ` cmake topics & js/ci-disable-cmake-by-default (was: What's cooking in git.git (Dec 2022, #07; Mon, 26)) Ævar Arnfjörð Bjarmason
2022-12-27  4:26   ` cmake topics & js/ci-disable-cmake-by-default Junio C Hamano
2022-12-27 13:59     ` Ævar Arnfjörð Bjarmason
2022-12-27 23:06       ` Junio C Hamano
2022-12-28  8:36 ` Ævar Arnfjörð Bjarmason [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=221228.864jtfvs0q.gmgdl@evledraar.gmail.com \
    --to=avarab@gmail.com \
    --cc=chooglen@google.com \
    --cc=derrickstolee@github.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).