diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2008-11-09 15:51:16 (GMT) |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2008-11-11 17:29:36 (GMT) |
commit | e29c0d10a201a4ce0c71ddb65faadff533ed2a98 (patch) | |
tree | ecd7e712c4b21c7e55da2b953f1fb9141f7a6e57 /git-gui.sh | |
parent | b28ebab294fb13f1bb5cd36ab9774a6dcf50a004 (diff) | |
download | git-e29c0d10a201a4ce0c71ddb65faadff533ed2a98.zip git-e29c0d10a201a4ce0c71ddb65faadff533ed2a98.tar.gz git-e29c0d10a201a4ce0c71ddb65faadff533ed2a98.tar.bz2 |
git-gui: Add the Show SSH Key item to the clone dialog.
The user might need to see the key before cloning a repository.
This patch makes the relevant menu item available in the Select
Repository/Clone dialog.
Signed-off-by: Alexander Gavrilov <angavrilov@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'git-gui.sh')
-rwxr-xr-x | git-gui.sh | 20 |
1 files changed, 11 insertions, 9 deletions
@@ -999,6 +999,17 @@ citool { ###################################################################### ## +## execution environment + +set have_tk85 [expr {[package vcompare $tk_version "8.5"] >= 0}] + +# Suggest our implementation of askpass, if none is set +if {![info exists env(SSH_ASKPASS)]} { + set env(SSH_ASKPASS) [gitexec git-gui--askpass] +} + +###################################################################### +## ## repository setup set picked 0 @@ -1073,15 +1084,6 @@ set selected_commit_type new set nullid "0000000000000000000000000000000000000000" set nullid2 "0000000000000000000000000000000000000001" -set have_tk85 [expr {[package vcompare $tk_version "8.5"] >= 0}] - -###################################################################### - -# Suggest our implementation of askpass, if none is set -if {![info exists env(SSH_ASKPASS)]} { - set env(SSH_ASKPASS) [gitexec git-gui--askpass] -} - ###################################################################### ## ## task management |