]> source.dussan.org Git - jgit.git/commit
SystemReader: Respect passed-in parent when no system config is present 97/142697/1
authorDave Borowitz <dborowitz@google.com>
Thu, 23 May 2019 20:56:00 +0000 (13:56 -0700)
committerDave Borowitz <dborowitz@google.com>
Thu, 23 May 2019 23:07:49 +0000 (16:07 -0700)
commit04bd5821e9ebc9b985c99e991cdb092a7fc03c43
tree1fb55695a095002b0766476186634907358350e7
parent1342942cc87d0039e635274a416aa219aaf975ad
SystemReader: Respect passed-in parent when no system config is present

The default implementation of openSystemConfig has special handling for
when the FS returns null from getGitSystemConfig: it should return a
"real" FileBasedConfig instance that never actually tries to load a
file. However, this codepath was not respecting the passed-in parent
config.

Change-Id: Id0bcdc93bb42f9ebe3f5ee4c6b4be8863e0133f9
org.eclipse.jgit/src/org/eclipse/jgit/util/SystemReader.java