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

Re: mysterious error message

From
Shawn O. Pearce <spearce@spearce.org>
Date
Sep 26, 2008, 14:26 UTC
Message-ID
<20080926142648.GV3669@spearce.org>
In-Reply-To
<alpine.DEB.1.00.0809261400400.13830@pacific.mpi-cbg.de.mpi-cbg.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
Show 20 quoted lines
> On Thu, 25 Sep 2008, Tom Sgouros wrote:
> 
> > I receive the following error message when I try to do a 'git push':
> > 
> >   tomfool@toms-box:hpl$ git push
> >   updating 'refs/heads/master'
> >     from ad4ae7925d3dd23798e7c5b733d2d8f930f7410f
> >     to   5b5f5fae014a4f3535fa10b0f6e28b4bf3225dc3
> >    Also local refs/remotes/origin/master
> >   Generating pack...
> >   Done counting 10 objects.
> >   Deltifying 10 objects...
> >   error: pack-objects died with strange error
> >   unpack eof before pack header was fully read
> >   ng refs/heads/master n/a (unpacker error)
> >   error: failed to push to 'ssh://tomfool@as220.org/home/tomfool/hpl.git'
> >   tomfool@toms-box:hpl$
> 
> I got this message when I tried to push a project with submodules to a 
> server which had submodule-ignorant git installed.  Maybe it's that?
Almost.

I think its that there are submodules in the local side and they are being pushed to the remote peer, but the git binary on the client that is being used to execute git-push doesn't know about submodules.

"error: pack-objects died with strange error":

This was pack-objects aborting when it saw a subtree entry and it couldn't trace down that path in order to include it into the pack.

"unpack eof before pack header was fully read":

This is the server side aborting because its gotten the command set from the git-push client, but pack-objects never even got to create the pack header, since it couldn't generate the full list of objects it needed to include.

Tom, try upgrading to a Git implementation on the client. It seems to me that this repository must have been moved here by means outside of Git (NFS mount?), or the client got downgraded (wrong $PATH?)

-- 
Shawn.
Previous: Johannes SchindelinNext: tom sgouros
Message 5 of 8 in “mysterious error message”
  1. Tom SgourosSep 25, 2008
  2. Uwe Kleine-KönigSep 26, 2008
  3. tom sgourosSep 26, 2008
  4. Johannes SchindelinSep 26, 2008
  5. Shawn O. PearceSep 26, 2008
  6. tom sgourosSep 26, 2008
  7. Shawn O. PearceSep 26, 2008
  8. tom sgourosSep 28, 2008

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.