Problem cloning over ssh with git submodule and tags

From: Mike Dornberger <hidden>
Date: 2016-06-15 22:47:00

Hello,

I have a problem with submodule in v1.6.3.3:

The following sequence gives me error messages and I can't clone a
repository over ssh (for details see the attached typescript):

git submodule add git://git.kernel.org/pub/scm/git/git.git git
cd git
git checkout v1.6.3.3
cd ..
git add git # because it's modified
git commit -m 'added submodule git @ tag v1.6.3.3'

cd ..

git clone dornberg@dong101:tmp/test sshclonetest
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 cff4231a1dfbe68b4a163b31406d862567d3243a
remote: fatal: unable to get type of object cff4231a1dfbe68b4a163b31406d862567d3243a
remote: aborting due to possible repository corruption on the remote side.
fatal: early EOF
fatal: index-pack failed

 # cff423... is the v1.6.3.3 tag in the git submodule

git clone test localclonetest
 # this works though

If I change the URL in localclonetest/.git/config to
ssh://dornberg@dong101/path/to/testrepo I can do normal pulls from the
repo. (Haven't tried to change the git submodule to another tag or
something else yet, though.)

Let me know if I shall try out something. (I'm not subscribed to the
mailing list.)

Greetings,
 Mike Dornberger

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help