Change to extensions.refsStorage

git-core just rerolled the extensible backends series with refsStorage
as the configuration key. Update JGit to match git-core.

Change-Id: If345a2403a996e358b29cfa2a2298f6e8d59d96b
This commit is contained in:
Shawn Pearce 2016-01-11 20:44:10 -08:00
parent 398d8e877f
commit 9e3d391953
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ public void onConfigChanged(ConfigChangedEvent event) {
ConfigConstants.CONFIG_KEY_REPO_FORMAT_VERSION, 0);
String reftype = repoConfig.getString(
"extensions", null, "refsBackendType"); //$NON-NLS-1$ //$NON-NLS-2$
"extensions", null, "refsStorage"); //$NON-NLS-1$ //$NON-NLS-2$
if (repositoryFormatVersion >= 1 && reftype != null) {
if (StringUtils.equalsIgnoreCase(reftype, "reftree")) { //$NON-NLS-1$
refs = new RefTreeDatabase(this, new RefDirectory(this));