Merge branch 'stable-3.2'

* stable-3.2:
  Re-enable test-submit for Gerrit server

Change-Id: I4c83406a327de824b6d1df1f77b0ce042ab45013
This commit is contained in:
Luca Milanesio
2020-09-18 23:56:12 +01:00

View File

@@ -90,9 +90,12 @@ public class DefaultCommandModule extends CommandModule {
command("git-receive-pack").to(Commands.key(git, "receive-pack"));
command("gerrit-receive-pack").to(Commands.key(git, "receive-pack"));
command(git, "receive-pack").to(Commands.key(gerrit, "receive-pack"));
command(gerrit, "test-submit").toProvider(new DispatchCommandProvider(testSubmit));
}
}
if (!slaveMode) {
command(gerrit, "test-submit").toProvider(new DispatchCommandProvider(testSubmit));
}
command("suexec").to(SuExec.class);
listener().to(ShowCaches.StartupListener.class);