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
--- git-1.5.4/exec_cmd.c~ 2008-02-01 21:09:01.000000000 -0700 +++ git-1.5.4/exec_cmd.c 2008-02-11 17:35:11.092796000 -0700 @@ -69,7 +69,7 @@ const char *tmp; strbuf_init(&cmd, 0); - strbuf_addf(&cmd, "git-%s", argv[0]); + strbuf_addf(&cmd, "/home/enewren/software/install/linux/git/bin/git-%s", argv[0]); /* * argv[0] must be the git command, but the argv array