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

2 messages from 2005-09-01 to 2005-09-12. Participants: Petr Baudis, H. Peter Anvin.
Thread: https://gitlist.dev/t/1774

## H. Peter Anvin, 2005-09-01 21:21

Subject: Cogito(?): git+ssh pulling broken with tcsh as default shell
Message-ID: <431770F5.8080806@zytor.com>
URL: https://gitlist.dev/e/431770F5.8080806%40zytor.com

```
: 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, 2005-09-12 00:37

Subject: Re: Cogito(?): git+ssh pulling broken with tcsh as default shell
Message-ID: <20050912003731.GG15630@pasky.or.cz>
URL: https://gitlist.dev/e/20050912003731.GG15630%40pasky.or.cz
In-Reply-To: <431770F5.8080806@zytor.com>

```
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...
> : 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

```
