Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'bb/ssh-key-files' of git-gui into bb/git-gui-ssh-key-files
author
Junio C Hamano
<gitster@pobox.com>
Fri, 2 Mar 2018 23:17:35 +0000
(15:17 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 2 Mar 2018 23:17:35 +0000
(15:17 -0800)
* 'bb/ssh-key-files' of git-gui:
git-gui: search for all current SSH key types
git-gui/lib/sshkey.tcl
patch
|
blob
|
history
raw
(from parent 1:
7e31236
)
diff --git
a/git-gui/lib/sshkey.tcl
b/git-gui/lib/sshkey.tcl
index aa6457bbb5f1b0d64d6e04f27394912483250117..589ff8f78aba8273651b33005c6f6abd1db2fa27 100644
(file)
--- 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]