git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Petr Baudis <pasky@suse.cz>
Date
Sep 12, 2005, 00:37 UTC
Message-ID
<20050912003731.GG15630@pasky.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...

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
Previous: H. Peter Anvin
Message 2 of 2 in “Cogito(?): git+ssh pulling broken with tcsh as default shell”
  1. H. Peter AnvinSep 1, 2005
  2. Petr BaudisSep 12, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.