Merge branch 'stable-5.3' into stable-5.4
* stable-5.3: SystemReader: Respect passed-in parent when no system config is present Change-Id: I758ed0c2a3527ffcf6255158a49090aba090e942 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
This commit is contained in:
commit
7eb222f20d
|
@ -101,7 +101,7 @@ public String getProperty(String key) {
|
|||
public FileBasedConfig openSystemConfig(Config parent, FS fs) {
|
||||
File configFile = fs.getGitSystemConfig();
|
||||
if (configFile == null) {
|
||||
return new FileBasedConfig(null, fs) {
|
||||
return new FileBasedConfig(parent, null, fs) {
|
||||
@Override
|
||||
public void load() {
|
||||
// empty, do not load
|
||||
|
|
Loading…
Reference in New Issue