]> source.dussan.org Git - jgit.git/commit
ssh config: do environment variable replacement 42/178742/1
authorThomas Wolf <thomas.wolf@paranor.ch>
Sat, 20 Mar 2021 17:46:13 +0000 (18:46 +0100)
committerThomas Wolf <thomas.wolf@paranor.ch>
Thu, 1 Apr 2021 17:01:13 +0000 (19:01 +0200)
commit1de2a9fbe73930504b72904539a3d98d9f9c9738
tree13d206c5adfb750edffb785cae639416cba61b5d
parent8edde18c8c3240dadd7f3411d2065d8df28cdc5c
ssh config: do environment variable replacement

OpenSSH 8.4 has introduced simple environment variable substitution
for some keys. Implement that feature in our ssh config file parser,
too.

Bug: 572103
Change-Id: I360f2c5510eea4ec3329aeedf3d29dfefc9163f0
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
org.eclipse.jgit.ssh.jsch.test/tst/org/eclipse/jgit/transport/OpenSshConfigTest.java
org.eclipse.jgit/src/org/eclipse/jgit/internal/transport/ssh/OpenSshConfigFile.java