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

Re: git submodule update strange output behavior.

From
Carlo Wood <carlo@alinoe.com>
Date
Jan 11, 2020, 11:00 UTC
Message-ID
<20200111120029.2baaa090@hikaru>
In-Reply-To
<xmqqblrbm7c9.fsf@gitster-ct.c.googlers.com>

On Fri, 10 Jan 2020 11:36:54 -0800 Junio C Hamano <gitster@pobox.com> wrote:

Show 8 quoted lines
> Carlo Wood <carlo@alinoe.com> writes:
> 
> > It seems to me that the other part of the problem is printing
> > this output for submodules when nothing (needed to be) is fetched.  
> 
> Hmm, I am not sure if that is a reasonable expectation.  Would it be
> possible to tell if there is something that needs to be fetched
> without attempting to contact the other side?

That wasn't even my point though: assume that we can't know, so we have to attempt a fetch anyway (seems indeed likely), then I'd expect to see this message for *every* submodule, and not just for submodules inside other submodule.

There is an asymmetry (in the output of this command) between submodules in the top level project and submodules inside other submodules.

This then makes me wonder after all, if the message is suppressed for top-level submodules then can't it also be suppressed for the others (those that are currently being printed)?

-- 
Carlo Wood <carlo@alinoe.com>
Previous: Junio C HamanoNext: Carlo Wood
Message 6 of 7 in “git submodule update strange output behavior.”
  1. Carlo WoodJan 9, 2020
  2. Junio C HamanoJan 9, 2020
  3. Junio C HamanoJan 9, 2020
  4. Carlo WoodJan 10, 2020
  5. Junio C HamanoJan 10, 2020
  6. Carlo WoodJan 11, 2020
  7. Carlo WoodJan 10, 2020

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.