threads / discuss / 13530

Submodule on Debian breaks

Subject: Submodule on Debian breaks

## tl;dr

2 messages between May 15, 2008 and May 15, 2008.

replies: 1people: 2as markdown or json

Peter Bengtson· May 15, 2008, 12:29 UTC · lore

We have problems cloning git repositories containing submodules on Debian. Cloning them locally, on Debian, or on Mac OS X, works without a hitch. Cloning them remotely from a Mac OS X repo server to a Mac OS X client computer also works as expected, as does cloning repos without submodules.

But as soon as a clone of a git repo containing a submodule on the Debian machine is attempted from another computer, this happens:

Show 13 quoted lines
> error: git-upload-pack: git-pack-objects died with error.
> fatal: git-upload-pack: aborting due to possible repository  
> corruption on the remote side.
> remote: Generating pack...
> remote: Done counting 7 objects.
> remote: error: unable to find  
> 4d5436979e0afc1e9c03dceeeea3c2ddb9dbf211remote:
> remote: fatal: unable to get type of object  
> 4d5436979e0afc1e9c03dceeeea3c2ddb9dbf211
> remote: aborting due to possible repository corruption on the remote  
> side.
> fatal: early EOF
> fatal: index-pack failed
However, git fsck reports no errors.

The git version is the latest published one, 1.5.5.1, installed from source (not via apt-get), and configured only with ./configure -- prefix=/usr/local

Googling for info about git submodule and corrupted repos yields absolutely nothing.

Any ideas, anyone?
	/ Peter Bengtson
Johannes Schindelin· May 15, 2008, 12:55 UTC · re: Peter Bengtson · lore

Re: Submodule on Debian breaks

Hi,
On Thu, 15 May 2008, Peter Bengtson wrote:
Show 10 quoted lines
> We have problems cloning git repositories containing submodules on 
> Debian. Cloning them locally, on Debian, or on Mac OS X, works without a 
> hitch. Cloning them remotely from a Mac OS X repo server to a Mac OS X 
> client computer also works as expected, as does cloning repos without 
> submodules.
> 
> But as soon as a clone of a git repo containing a submodule on the 
> Debian machine is attempted from another computer, this happens:
> 
> >error: git-upload-pack: git-pack-objects died with error.
This is the remote git.  It is probably out of date.

Ciao, Dscho

← back to recent threads