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

Re: Calling ssh from git-gui

From
Petr Baudis <pasky@suse.cz>
Date
Sep 3, 2008, 17:33 UTC
Message-ID
<20080903173310.GY10360@machine.or.cz>
In-Reply-To
<20080903171543.GC28315@spearce.org>
On Wed, Sep 03, 2008 at 10:15:43AM -0700, Shawn O. Pearce wrote:
> And that is why it doesn't handle (ii) or (iii) at the present time,
> and unless I am given a nice patch series for any git-gui related
> parts of this, why it will continue to remain that way for quite
> some time.

My writeup was not actually intended as 'how we might do it' but 'how should *I* implement this'. ;-) I _do_ plan for a nice patch series. For now I'm defaulting on the SSH_ASKPASS approach.

Show 5 quoted lines
> Damn annoying for git-gui to be invoking a new terminal window, but
> maybe that's what we have to do.  Be nice though if the window only
> was opened because we couldn't do "git ls-remote url" but its hard
> to tell "hanging because SSH needs the user" and "hanging because
> the network is a 2400 baud modem".

Oh, indeed - that is something what I had in mind when starting to write this mail about a week ago, but forgot to mention now. It's the possibility of having console spawn a real tty (or do some more stuff to *emulate* a tty, but again, this might get hairy in TCL). However, this feels very... "untidy" compared to SSH_ASKPASS.

-- 
				Petr "Pasky" Baudis
The next generation of interesting software will be done
on the Macintosh, not the IBM PC.  -- Bill Gates
Previous: Shawn O. Pearce
Message 5 of 5 in “Calling ssh from git-gui”
  1. Petr BaudisSep 3, 2008
  2. Shawn O. PearceSep 3, 2008
  3. Thomas RastSep 3, 2008
  4. Shawn O. PearceSep 3, 2008
  5. Petr BaudisSep 3, 2008

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.