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

Re: [PATCH 4/4] git-fetch-pack: Implement client part of the multi_ack extension

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Oct 25, 2005, 21:26 UTC
Message-ID
<Pine.LNX.4.63.0510252323110.18248@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<7vvezlcnpi.fsf@assigned-by-dhcp.cox.net>
Hi,
On Tue, 25 Oct 2005, Junio C Hamano wrote:
Show 25 quoted lines
> Alex Riesen <raa.lkml@gmail.com> writes:
> 
> > Johannes Schindelin, Sun, Oct 23, 2005 03:40:13 +0200:
> >> This patch concludes the series, which makes 
> >> git-fetch-pack/git-upload-pack negotiate a potentially better set of 
> >> common revs. It should make a difference when fetching from a repository 
> >> with a few branches.
> >
> > This broke git-pull for me (the local one):
> 
> Is this the same problem I fixed with this commit, which sits at
> the tip on the "master" branch?
> 
> commit 7efc8e43508b415e2540dbcb79521bde16c51e0c
> tree 6234aa4f7095054a137e030030f914dc6633f809
> parent 40a10462498bdd23d4e49f02867b8be50eb78704
> author Junio C Hamano <junkio@cox.net> 1130061738 -0700
> committer Junio C Hamano <junkio@cox.net> 1130192018 -0700
> 
>     upload-pack: fix thinko in common-commit finder code.
> 
>     The code to check if we have the object the other side has was bogus
>     (my fault).
> 
>     Signed-off-by: Junio C Hamano <junkio@cox.net>

It looks to me like it is not. This looks more like upload-pack speaks multi_ack, but fetch-pack does not, since it gets the "got ack .. continue" too late.

I'll send out a patch implementing a first version of my "nasty" fetch-pack tests in a few minutes. This test showed me my error.

Ciao, Dscho

Previous: Junio C Hamano
Message 8 of 8 in “git-fetch-pack: Implement client part of the multi_ack extension”
  1. 4/4 git-fetch-pack: Implement client part of the multi_ack extensionJohannes Schindelin, Oct 23, 2005
  2. Alex RiesenOct 25, 2005
  3. Johannes SchindelinOct 25, 2005
  4. Alex RiesenOct 26, 2005
  5. Johannes SchindelinOct 26, 2005
  6. Alex RiesenOct 26, 2005
  7. Junio C HamanoOct 25, 2005
  8. Johannes SchindelinOct 25, 2005

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.