]> source.dussan.org Git - jgit.git/commit
FileBasedConfig: support for relative includes 48/111848/5
authorMarc Strapetz <marc.strapetz@syntevo.com>
Sat, 18 Nov 2017 16:50:30 +0000 (17:50 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Mon, 4 Dec 2017 22:38:24 +0000 (23:38 +0100)
commit26d78902f8843f24556ba152a38b5f89b21af107
tree5673079bcc64a44e1c315b6bf58afceb75490b1c
parentb8f257747287df472fe2907c45144ab0dbbc9fcc
FileBasedConfig: support for relative includes

Relative include.path are now resolved against the config's parent
directory. include.path starting with ~/ are resolved against the
user's home directory

Change-Id: I91911ef404126618b1ddd3589294824a0ad919e6
Signed-off-by: Marc Strapetz <marc.strapetz@syntevo.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/ConfigTest.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/storage/file/FileBasedConfigTest.java
org.eclipse.jgit/src/org/eclipse/jgit/storage/file/FileBasedConfig.java