Harmonize link text in ITS comments While the link text in ITS comments for gerrit comments started in Gerrit Change [Change-Id] (without colon), the link text in ITS comments for added patch sets started in Gerrit Patch-Set: [Change-Id]/[Patch Set-Id] (with colon). We now harmonize those messages and drop the colon. Change-Id: I535c1186a469e746a65bd7024c0f5c65cedd49b7
diff --git a/hooks-its/src/main/java/com/googlesource/gerrit/plugins/hooks/workflow/GerritHookFilterAddRelatedLinkToChangeId.java b/hooks-its/src/main/java/com/googlesource/gerrit/plugins/hooks/workflow/GerritHookFilterAddRelatedLinkToChangeId.java index ec46d48..a404fea 100644 --- a/hooks-its/src/main/java/com/googlesource/gerrit/plugins/hooks/workflow/GerritHookFilterAddRelatedLinkToChangeId.java +++ b/hooks-its/src/main/java/com/googlesource/gerrit/plugins/hooks/workflow/GerritHookFilterAddRelatedLinkToChangeId.java
@@ -53,7 +53,7 @@ for (String issue : issues) { its.addRelatedLink(issue, new URL(patchsetCreated.change.url), - "Gerrit Patch-Set: " + patchsetCreated.change.id + "/" + "Gerrit Patch-Set " + patchsetCreated.change.id + "/" + patchsetCreated.patchSet.number); } }