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

Re: [PATCH v4 4/4] submodule_needs_pushing() NEEDSWORK when we can not answer this question

From
Heiko Voigt <hvoigt@hvoigt.net>
Date
Nov 16, 2016, 21:31 UTC
Message-ID
<20161116213100.GA38510@book.hvoigt.net>
In-Reply-To
<xmqqoa1fp72o.fsf@gitster.mtv.corp.google.com>
On Wed, Nov 16, 2016 at 11:18:07AM -0800, Junio C Hamano wrote:
Show 6 quoted lines
> Heiko Voigt <hvoigt@hvoigt.net> writes:
> 
> > Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net>
> > ---
> 
> Needs retitle ;-)  Here is what I tentatively queued.
Thanks ;-) Missed that one.
Show 10 quoted lines
>     submodule_needs_pushing(): explain the behaviour when we cannot answer
>     
>     When we do not have commits that are involved in the update of the
>     superproject in our copy of submodule, we cannot tell if the remote
>     end needs to acquire these commits to be able to check out the
>     superproject tree.  Explain why we answer "no there is no need/point
>     in pushing from our submodule repository" in this case.
>     
>     Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net>
>     Signed-off-by: Junio C Hamano <gitster@pobox.com>
Sound fine to me.
Cheers Heiko
Previous: Junio C HamanoNext: Heiko Voigt
Message 5 of 8 in “Speedup finding of unpushed submodules”
  1. 0/4 Speedup finding of unpushed submodulesHeiko Voigt, Nov 16, 2016
  2. 1/4 serialize collection of changed submodulesHeiko Voigt, Nov 16, 2016
  3. 4/4 submodule_needs_pushing() NEEDSWORK when we can not answer this questionHeiko Voigt, Nov 16, 2016
  4. Junio C HamanoNov 16, 2016
  5. Heiko VoigtNov 16, 2016
  6. 2/4 serialize collection of refs that contain submodule changesHeiko Voigt, Nov 16, 2016
  7. 3/4 batch check whether submodule needs pushing into one callHeiko Voigt, Nov 16, 2016
  8. Stefan BellerNov 17, 2016

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.