Merge "submodule test: Use config.unset instead of setting to null"
This commit is contained in:
commit
53fb3e3dd3
|
@ -246,9 +246,8 @@ public void resolveWorkingDirectoryRelativeUrl() throws IOException,
|
|||
if (File.separatorChar == '\\')
|
||||
base = base.replace('\\', '/');
|
||||
FileBasedConfig config = db.getConfig();
|
||||
config.setString(ConfigConstants.CONFIG_REMOTE_SECTION,
|
||||
Constants.DEFAULT_REMOTE_NAME, ConfigConstants.CONFIG_KEY_URL,
|
||||
null);
|
||||
config.unset(ConfigConstants.CONFIG_REMOTE_SECTION,
|
||||
Constants.DEFAULT_REMOTE_NAME, ConfigConstants.CONFIG_KEY_URL);
|
||||
config.save();
|
||||
|
||||
SubmoduleWalk generator = SubmoduleWalk.forIndex(db);
|
||||
|
|
Loading…
Reference in New Issue