threads / discuss / 1774

Re: Cogito(?): git+ssh pulling broken with tcsh as default shell

Subject: Re: Cogito(?): git+ssh pulling broken with tcsh as default shell

## tl;dr

2 messages between Sep 1, 2005 and Sep 12, 2005.

replies: 1people: 2as markdown or json

H. Peter Anvin· Sep 1, 2005, 21:21 UTC · lore

Cogito(?): git+ssh pulling broken with tcsh as default shell

: tazenda 54 ; cg-clone -s 
git+ssh://terminus.zytor.com/home/hpa/klibc/official/.git/
defaulting to local storage area
mkdir: cannot create directory `.git/branches': File exists
master 
           100%   41     0.0KB/s   00:00
GIT_DIR=/home/hpa/klibc/official/.git: Command not found.
error: Couldn't read version from remote end
cg-pull: objects pull failed
cg-clone: pull failed

It looks like it tries to execute a sh/bash script on the remote end, without forcing the remote end to use sh/bash to execute the script.

Petr Baudis· Sep 12, 2005, 00:37 UTC · re: H. Peter Anvin · lore

Dear diary, on Thu, Sep 01, 2005 at 11:21:57PM CEST, I got a letter where "H. Peter Anvin" <hpa@zytor.com> told me that...

Show 14 quoted lines
> : tazenda 54 ; cg-clone -s 
> git+ssh://terminus.zytor.com/home/hpa/klibc/official/.git/
> defaulting to local storage area
> mkdir: cannot create directory `.git/branches': File exists
> master 
>           100%   41     0.0KB/s   00:00
> GIT_DIR=/home/hpa/klibc/official/.git: Command not found.
> error: Couldn't read version from remote end
> cg-pull: objects pull failed
> cg-clone: pull failed
> 
> 
> It looks like it tries to execute a sh/bash script on the remote end, 
> without forcing the remote end to use sh/bash to execute the script.

This is a git-ssh-pull bug (rsh.c:setup_connection()) and should be pretty easy to fix. Daniel?

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
If you want the holes in your knowledge showing up try teaching
someone.  -- Alan Cox

← back to recent threads