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

Submodule on Debian breaks

From
PBPeter Bengtson <peter@peterbengtson.com>
Date
May 15, 2008, 12:29 UTC
Message-ID
<06D015DD-6F3B-4D2E-8305-BDD062F149E6@peterbengtson.com>

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
Next: Johannes Schindelin
Message 1 of 2 in “Submodule on Debian breaks”
  1. Peter BengtsonMay 15, 2008
  2. Johannes SchindelinMay 15, 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.