git-gui: Add a simple implementation of SSH_ASKPASS.
commit8c76212529570aed70c46d6f252cb1a4010f3f2e
authorAlexander Gavrilov <angavrilov@gmail.com>
Wed, 15 Oct 2008 09:28:21 +0000 (15 13:28 +0400)
committerShawn O. Pearce <spearce@spearce.org>
Sat, 1 Nov 2008 23:01:34 +0000 (1 16:01 -0700)
treee5be1df71c65fefd05640bc99c22f2b6768900ae
parent98a6846bb8c5acb55d25d429954ec4ea2f4f320e
git-gui: Add a simple implementation of SSH_ASKPASS.

OpenSSH allows specifying an external program to use
for direct user interaction. While most Linux systems
already have such programs, some environments, for
instance, msysgit, lack it. This patch adds a simple
fallback Tcl implementation of the tool.

In msysgit it is also necessary to set a fake value of
the DISPLAY variable, because otherwise ssh won't even
try to use SSH_ASKPASS handlers.

Signed-off-by: Alexander Gavrilov <angavrilov@gmail.com>
Acked-by: Johannes Sixt <johannes.sixt@telecom.at>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Makefile
git-gui--askpass [new file with mode: 0755]
git-gui.sh