summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-03-02 23:17:35 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-03-02 23:17:35 (GMT)
commit2e2f0288ef7b94f39abe694d0f0bfd0db192998c (patch)
tree4b34762ab984fd100b14aa97d4f07a674726a8a4
parent7e31236f652ad9db221511eaf157ce0ef55585d6 (diff)
parent6a47fa0efa342daa53c6386538fda313420351a5 (diff)
downloadgit-2e2f0288ef7b94f39abe694d0f0bfd0db192998c.zip
git-2e2f0288ef7b94f39abe694d0f0bfd0db192998c.tar.gz
git-2e2f0288ef7b94f39abe694d0f0bfd0db192998c.tar.bz2
Merge branch 'bb/ssh-key-files' of git-gui into bb/git-gui-ssh-key-files
* 'bb/ssh-key-files' of git-gui: git-gui: search for all current SSH key types
-rw-r--r--git-gui/lib/sshkey.tcl5
1 files changed, 4 insertions, 1 deletions
diff --git a/git-gui/lib/sshkey.tcl b/git-gui/lib/sshkey.tcl
index aa6457b..589ff8f 100644
--- a/git-gui/lib/sshkey.tcl
+++ b/git-gui/lib/sshkey.tcl
@@ -2,7 +2,10 @@
# Copyright (C) 2006, 2007 Shawn Pearce
proc find_ssh_key {} {
- foreach name {~/.ssh/id_dsa.pub ~/.ssh/id_rsa.pub ~/.ssh/identity.pub} {
+ foreach name {
+ ~/.ssh/id_dsa.pub ~/.ssh/id_ecdsa.pub ~/.ssh/id_ed25519.pub
+ ~/.ssh/id_rsa.pub ~/.ssh/identity.pub
+ } {
if {[file exists $name]} {
set fh [open $name r]
set cont [read $fh]