]> source.dussan.org Git - jgit.git/commit
Config load should not fail on unsupported or nonexistent include path 46/75346/4
authorHugo Arès <hugo.ares@ericsson.com>
Wed, 15 Jun 2016 18:40:05 +0000 (14:40 -0400)
committerHugo Arès <hugo.ares@ericsson.com>
Mon, 27 Jun 2016 12:59:03 +0000 (08:59 -0400)
commit80cd8554435bdc311d9303677f0796554e5a2dbe
treeb512f3904ee1f283a7f2e460a8d606364b1e188a
parent203888f3fa2319412b47c27bb122dc7af77faedd
Config load should not fail on unsupported or nonexistent include path

1f86350 added initial support for include.path. Relative path and path
with tilde are not yet supported but config load was failing if one of
those 2 unsupported options was encountered. Another problem was that
config load was failing if the include.path file did not exist.

Change the behavior to be consistent with native git. Ignore unsupported
or nonexistent include.path.

Bug: 495505
Bug: 496732
Change-Id: I7285d0e7abb6389ba6983e9c46021bea4344af68
Signed-off-by: Hugo Arès <hugo.ares@ericsson.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/ConfigTest.java
org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties
org.eclipse.jgit/src/org/eclipse/jgit/internal/JGitText.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/Config.java