Unable to clone an ssh repository (with ugly installation-specific workaround)

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <git@...>
Date: Monday, February 11, 2008 - 10:22 pm

Hi,

I'm pretty sure this worked before, but with git-1.5.4, when trying to
clone a repository via ssh from a machine that does not have git
installed in a standard system path, I get the following:

$ git clone -u /home/enewren/software/install/linux/git/bin/git-upload-pack
ssh://enewren@remote/var/scratch/enewren/votd
Initialized empty Git repository in /home/newren/devel/votd/.git/
remote: fatal: exec pack-objects failed.
remote: aborting due to possible repository corruption on the remote side.
fatal: early EOF
fatal: index-pack failed
fetch-pack from 'ssh://enewren@remote/var/scratch/enewren/votd' failed.

I tried doing a local clone of the same repository (worked fine), a
'git fsck -full' on the relevant repository (reported no errors), and
a few other things.  After a bit of digging, I found a really ugly
hack that works around my problem.  After recompiling git on the
remote machine with the attached patch, the clone operation succeeded.


Thanks,
Elijah
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Unable to clone an ssh repository (with ugly installation-sp..., Elijah Newren, (Mon Feb 11, 10:22 pm)
Re: Unable to clone an ssh repository (with ugly installatio..., Johannes Schindelin, (Tue Feb 12, 6:30 am)
Re: Unable to clone an ssh repository (with ugly installatio..., Stephen Sinclair, (Wed Feb 13, 10:17 am)
[PATCH] upload-pack: Initialize the exec-path., Johannes Sixt, (Tue Feb 12, 7:28 am)
Re: [PATCH] upload-pack: Initialize the exec-path., Johannes Schindelin, (Tue Feb 12, 7:49 am)
Re: [PATCH] upload-pack: Initialize the exec-path., Johannes Schindelin, (Tue Feb 12, 8:45 am)
Re: [PATCH] upload-pack: Initialize the exec-path., Elijah Newren, (Wed Feb 13, 9:00 am)