commit | afca8697fcc0d2806e80269c0abe147fc81eb320 | [log] [tgz] |
---|---|---|
author | Christian Aistleitner <christian@quelltextlich.at> | Sat Mar 23 13:06:42 2013 +0100 |
committer | Christian Aistleitner <christian@quelltextlich.at> | Sat Mar 23 13:36:12 2013 +0100 |
tree | 267236490f0c855360762c90af325ca6b9b16008 | |
parent | efb6729b7009e7f43775b1b29b3f8493d7244bd4 [diff] |
Use gerrit's spelling of 'Patch Set' for ITS comments ITS comments for new patch sets use 'Patch-Set' (with dash), while upstream gerrit uses 'Patch Set' (without dash). We also drop the dash in ITS comments to match gerrit's spelling. Change-Id: I57e53dfccacbcc1885a96663a91dd9dcecac08ee
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 a404fea..0d1e5c1 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); } }