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

Re: issue upgrading git from 1.8.2.1 to 2.8.0

From
Jeff King <peff@peff.net>
Date
Apr 23, 2016, 05:22 UTC
Message-ID
<20160423052208.GA25325@sigill.intra.peff.net>
In-Reply-To
<CA+UAp04M+jxS1JBPuz78GovopKSjvgkEdOj2DYG6wF7inasvWA@mail.gmail.com>
On Sat, Apr 23, 2016 at 01:18:50AM -0400, Gennaro Torre wrote:
Show 20 quoted lines
> This is what I see:
> 
> 01:16:15.789969 pkt-line.c:80           packet:        fetch>
> git-upload-pack /tumblr.git\0host=<cache>\0
> 01:16:15.851231 pkt-line.c:80           packet:        fetch<
> a210029455476c3ae0d34748aeaeccf71864fd81 HEAD\0multi_ack thin-pack
> side-band side-band-64k ofs-delta shallow no-progress include-tag
> multi_ack_detailed symref=HEAD:refs/heads/master agent=git/2.8.0
> 01:16:15.851433 pkt-line.c:80           packet:        fetch<
> 511b1feab8d10b81777a75c02dabc94c7da9e0d4 refs/heads/263-fix
> .....
> 01:17:59.497259 pkt-line.c:80           packet:        fetch<
> cd63ca15d47b469e692faea2e04f32a241a6637a refs/tags/hotposts_v0.1
> 01:17:59.497265 pkt-line.c:80           packet:        fetch<
> 4749ee8a11ca093928c8a43fb0147d22177f1d71 refs/tags/hotposts_v0.1^{}
> 01:17:59.497282 pkt-line.c:80           packet:        fetch< 0000
> Server supports multi_ack_detailed
> Server supports side-band-64k
> Server supports ofs-delta
> Server version is git/2.8.0

So that's weird. The client gets the initial ref advertisement and then...does nothing? It should drop into find_common() and start sending want/have lines to the server (or decide it doesn't need any objects and immediately send a flush packet).

Is the client chewing any CPU, or otherwise doing anything according to "strace"? Is it possible to connect to it with gdb and get a backtrace?

-Peff
Previous: Jeff King
Message 6 of 6 in “issue upgrading git from 1.8.2.1 to 2.8.0”
  1. Gennaro TorreApr 22, 2016
  2. Stefan BellerApr 22, 2016
  3. Junio C HamanoApr 22, 2016
  4. Jeff KingApr 22, 2016
  5. Jeff KingApr 23, 2016
  6. Jeff KingApr 23, 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.