author | Alexander Gavrilov <angavrilov@gmail.com> | |
Wed, 15 Oct 2008 09:28:21 +0000 (13:28 +0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Sat, 1 Nov 2008 23:01:34 +0000 (16:01 -0700) | ||
commit | 8c76212529570aed70c46d6f252cb1a4010f3f2e | |
tree | e5be1df71c65fefd05640bc99c22f2b6768900ae | tree | snapshot |
parent | 98a6846bb8c5acb55d25d429954ec4ea2f4f320e | commit | diff |
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>
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 | diff | blob | history | |
git-gui--askpass | [new file with mode: 0755] | blob |
git-gui.sh | diff | blob | history |