From 0fa95e7eb94b49908e2467efaea4ad08be9fcca1 Mon Sep 17 00:00:00 2001 From: Edwin Kempin Date: Mon, 26 May 2014 14:16:26 +0200 Subject: [PATCH] Use '-' in cache name as separator between plugin name and cache name In other places we already use '-' as separator in names that include the plugin name, e.g. for capabilities that are defined by a plugin. To be consistent the cache name should use the same separator. '.' cannot be used for capabilities since it is not allowed in parameter names in Git config files. Change-Id: Ic1a669930831a1d4e526f2a22771879ecf7f19c1 Signed-off-by: Edwin Kempin --- .../main/java/com/google/gerrit/sshd/commands/CacheCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gerrit-sshd/src/main/java/com/google/gerrit/sshd/commands/CacheCommand.java b/gerrit-sshd/src/main/java/com/google/gerrit/sshd/commands/CacheCommand.java index 7f9e5dbdb6..3d568e1331 100644 --- a/gerrit-sshd/src/main/java/com/google/gerrit/sshd/commands/CacheCommand.java +++ b/gerrit-sshd/src/main/java/com/google/gerrit/sshd/commands/CacheCommand.java @@ -38,7 +38,7 @@ abstract class CacheCommand extends SshCommand { if ("gerrit".equals(plugin)) { return name; } else { - return plugin + "." + name; + return plugin + "-" + name; } } }