sigma / magit-gh-pulls

Magit plugin for dealing with GitHub pull requests
254 stars 48 forks source link

Extract all hosts aliases from ssh config #103

Open pkryger opened 7 years ago

pkryger commented 7 years ago

In SSH config it is possible to specify multiple host aliases for a single host. This updates the magit-gh-pulls-get-host-hostnames to transform the following config:

Host alias1 alias2
  HostName name1
  HostName name2

into a list:

((alias1 . (name1 name2) (alias2 . (name1 name2))))