From: "Shawn O. Pearce" <spearce@spearce.org>
To: Thomas Rast <trast@student.ethz.ch>
Cc: Petr Baudis <pasky@suse.cz>,
git@vger.kernel.org, msysgit@googlegroups.com
Subject: Re: Calling ssh from git-gui
Date: Wed, 3 Sep 2008 10:25:41 -0700 [thread overview]
Message-ID: <20080903172541.GD28315@spearce.org> (raw)
In-Reply-To: <200809031922.07083.trast@student.ethz.ch>
Thomas Rast <trast@student.ethz.ch> wrote:
> Shawn O. Pearce wrote:
> > 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".
>
> You can set BatchMode (ssh_config(5)) to at least prevent it from
> hanging, can't you?
True, but this is OpenSSH specific, and has to be done on the
command line, which git-gui has no control over.
Maybe git fetch and push can check for a tty on fd 0 and enable
try to enable batch mode if fd 0 isn't a tty?
--
Shawn.
next prev parent reply other threads:[~2008-09-03 17:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-03 16:54 Calling ssh from git-gui Petr Baudis
2008-09-03 17:15 ` Shawn O. Pearce
2008-09-03 17:22 ` Thomas Rast
2008-09-03 17:25 ` Shawn O. Pearce [this message]
2008-09-03 17:33 ` Petr Baudis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080903172541.GD28315@spearce.org \
--to=spearce@spearce.org \
--cc=git@vger.kernel.org \
--cc=msysgit@googlegroups.com \
--cc=pasky@suse.cz \
--cc=trast@student.ethz.ch \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.