Re: Calling ssh from git-gui

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thomas Rast <trast@xxxxxxxxxxxxxxx> 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.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux