]> source.dussan.org Git - jgit.git/commitdiff
SystemReader: Use correct constructor of FileBasedConfig 22/148122/1
authorDavid Pursehouse <david.pursehouse@gmail.com>
Thu, 22 Aug 2019 10:23:55 +0000 (19:23 +0900)
committerDavid Pursehouse <david.pursehouse@gmail.com>
Thu, 22 Aug 2019 10:23:55 +0000 (19:23 +0900)
The merge done in change If0c5010a2 resolved a conflict incorrectly
and reverted the fix that was done in change Id0bcdc93b.

Change-Id: I0f5fde33d1f366817f2b966eb42535f7bd3b063e
Reported-by: Thomas Wolf <thomas.wolf@paranor.ch>
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
org.eclipse.jgit/src/org/eclipse/jgit/util/SystemReader.java

index d554562a75752bb1c61d0f0b40ad2f027b55987f..0f8c248f9c15f92128fc3d5b3eb17fe6d32f0b50 100644 (file)
@@ -126,7 +126,7 @@ public abstract class SystemReader {
                                        return new FileBasedConfig(parent, configFile, fs);
                                }
                        }
-                       return new FileBasedConfig(null, fs) {
+                       return new FileBasedConfig(parent, null, fs) {
                                @Override
                                public void load() {
                                        // empty, do not load