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

Re: git-push sent too many objects

From
Jeff King <peff@peff.net>
Date
Apr 26, 2012, 13:07 UTC
Message-ID
<20120426130717.GB27785@sigill.intra.peff.net>
In-Reply-To
<15053.1334758946@plover.com>
On Wed, Apr 18, 2012 at 10:22:26AM -0400, Mark Jason Dominus wrote:
Show 10 quoted lines
> Shawn Pearce:
> > On Tue, Apr 17, 2012 at 09:53, Mark Jason Dominus <mjd@plover.com> wrote:
> > > What happened here? =A0Why did git-push send 1,315 objects instead of 5?
> > 
> > Is it possible someone else modified the repository at the same time?
> 
> It is extremely unlikely. This repository is controlled by gitolite
> and I am the only person who has push access to it. Also, although my
> paste doesn't show it, the repository's master reference had not
> moved.

Is the repository public? I can't reproduce the issue on a trivial test case, but it might be possible to create the original state of the client and server repos with judicious use of "reset" and "prune". If we can get a reliable case, then running with GIT_TRACE_PACKET will show the commit negotiation that we go through.

-Peff
Previous: Mark Jason DominusNext: Mark Jason Dominus
Message 4 of 5 in “git-push sent too many objects”
  1. Mark Jason DominusApr 17, 2012
  2. Shawn PearceApr 18, 2012
  3. Mark Jason DominusApr 18, 2012
  4. Jeff KingApr 26, 2012
  5. Mark Jason DominusApr 27, 2012

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.