From: Jeff King Date: Thu, 26 Apr 2012 13:07:17 GMT Subject: Re: git-push sent too many objects 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: > Shawn Pearce: > > On Tue, Apr 17, 2012 at 09:53, Mark Jason Dominus 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