git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Glen Choo <chooglen@google.com>
Cc: git@vger.kernel.org
Subject: Re: gc/recursive-fetch-with-unused-submodules (was Re: What's cooking in git.git (Mar 2022, #03; Mon, 14))
Date: Wed, 16 Mar 2022 12:53:47 -0700	[thread overview]
Message-ID: <xmqqa6dpllmc.fsf@gitster.g> (raw)
In-Reply-To: <kl6l5yodyej3.fsf@chooglen-macbookpro.roam.corp.google.com> (Glen Choo's message of "Wed, 16 Mar 2022 10:48:32 -0700")

Glen Choo <chooglen@google.com> writes:

> Junio C Hamano <gitster@pobox.com> writes:
>
>> * gc/recursive-fetch-with-unused-submodules (2022-03-07) 10 commits
>>  - submodule: fix latent check_has_commit() bug
>>  - fetch: fetch unpopulated, changed submodules
>>  - submodule: move logic into fetch_task_create()
>>  - submodule: extract get_fetch_task()
>>  - submodule: store new submodule commits oid_array in a struct
>>  - submodule: inline submodule_commits() into caller
>>  - submodule: make static functions read submodules from commits
>>  - t5526: create superproject commits with test helper
>>  - t5526: stop asserting on stderr literally
>>  - t5526: introduce test helper to assert on fetches
>>
>>  When "git fetch --recurse-submodules" grabbed submodule commits
>>  that would be needed to recursively check out newly fetched commits
>>  in the superproject, it only paid attention to submodules that are
>>  in the current checkout of the superproject.  We now do so for all
>>  submodules that have been run "git submodule init" on.
>>
>>  Expecting a reroll.
>>  cf. <kl6ly21p2q00.fsf@chooglen-macbookpro.roam.corp.google.com>
>>  source: <20220308001433.94995-1-chooglen@google.com>
>
> Is 'Expecting a reroll.' accurate? <xmqqr17dp8s9.fsf@gitster.g>
> indicated that this topic would be queued.

"Queuing" is just that.  It may stay there for a while and be
dropped unless it sees a decent progress (if it is expected to be
further worked on).  That's vastly different from merging down to
'next'.

I just re-read the message with "will queue" in it, and I only said
the changes listed as updates from v4 looked all sensible, which
does not mean the changes listed there are sufficient to correct all
problems we may already had in v3.

Downthread in <xmqq4k46nae4.fsf@gitster.g> and its response, I see
we agree that "reading .gitmodules in a particular superproject
commit is just as wrong as reading from the working tree---it should
not be necessary to fetch in the submodule, and the API to get the
necessary parameter to run fetch in the submodule should be cleaned
up" and that "fixing that API can be left outside the scope of this
topic for the sake of expediency".  I would at least expect the two
decisions are described in an updated log message of relevant steps.

Thanks.



  reply	other threads:[~2022-03-16 19:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-14 21:20 What's cooking in git.git (Mar 2022, #03; Mon, 14) Junio C Hamano
2022-03-15  1:51 ` vd/stash-silence-reset (was: Re: What's cooking in git.git (Mar 2022, #03; Mon, 14)) Victoria Dye
2022-03-15 11:02 ` What's cooking in git.git (Mar 2022, #03; Mon, 14) Robert Coup
2022-03-15 18:38 ` Jeff Hostetler
2022-03-15 19:09   ` Junio C Hamano
2022-03-16 17:48 ` gc/recursive-fetch-with-unused-submodules (was Re: What's cooking in git.git (Mar 2022, #03; Mon, 14)) Glen Choo
2022-03-16 19:53   ` Junio C Hamano [this message]
2022-03-16 20:54     ` Glen Choo

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

  List information: http://vger.kernel.org/majordomo-info.html

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

  git send-email \
    --in-reply-to=xmqqa6dpllmc.fsf@gitster.g \
    --to=gitster@pobox.com \
    --cc=chooglen@google.com \
    --cc=git@vger.kernel.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).