Browse Source

dfs: use ReftableConfig() constructor in DfsReftableDatabase

Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
Change-Id: I756f086fccaba8e77db516160c14708f97519f93
next
Han-Wen Nienhuys 5 years ago
parent
commit
c78fbf23a5
  1. 2
      org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsReftableDatabase.java

2
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsReftableDatabase.java

@ -124,7 +124,7 @@ public class DfsReftableDatabase extends DfsRefDatabase {
* @return configuration to write new reftables with.
*/
public ReftableConfig getReftableConfig() {
return new ReftableConfig(getRepository().getConfig());
return new ReftableConfig(getRepository());
}
/**

Loading…
Cancel
Save