For clone commands rely on scheme URLs from the server
Do not construct clone commands on client-side, but rely on the scheme URLs that are retrieved from the server. Change-Id: I7077ce0dcf21941d44ec69e4aecf7adb94bbeebe Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:

committed by
David Pursehouse

parent
d0bde8e151
commit
f94d06bc25
@@ -103,7 +103,6 @@ class GerritConfigProvider implements Provider<GerritConfig> {
|
||||
}
|
||||
config.setSwitchAccountUrl(cfg.getString("auth", null, "switchAccountUrl"));
|
||||
config.setGitDaemonUrl(cfg.getString("gerrit", null, "canonicalgiturl"));
|
||||
config.setGitHttpUrl(cfg.getString("gerrit", null, "gitHttpUrl"));
|
||||
config.setAuthType(authConfig.getAuthType());
|
||||
config.setDocumentationAvailable(servletContext
|
||||
.getResource("/Documentation/index.html") != null);
|
||||
|
Reference in New Issue
Block a user