notedb: Use Patch-set instead of Patch-Set
Other standard git footers (e.g. Signed-off-by) only capitalize the first word. Change-Id: If0e54f9eb088a706bf6a919971505584eb9df330
This commit is contained in:
@@ -23,7 +23,7 @@ public class ChangeNoteUtil {
|
||||
static final String GERRIT_PLACEHOLDER_HOST = "gerrit";
|
||||
|
||||
static final FooterKey FOOTER_LABEL = new FooterKey("Label");
|
||||
static final FooterKey FOOTER_PATCH_SET = new FooterKey("Patch-Set");
|
||||
static final FooterKey FOOTER_PATCH_SET = new FooterKey("Patch-set");
|
||||
|
||||
public static String changeRefName(Change.Id id) {
|
||||
StringBuilder r = new StringBuilder();
|
||||
|
||||
@@ -195,7 +195,7 @@ public class ChangeNotesTest {
|
||||
walk.parseBody(commit);
|
||||
assertEquals("Update patch set 1\n"
|
||||
+ "\n"
|
||||
+ "Patch-Set: 1\n"
|
||||
+ "Patch-set: 1\n"
|
||||
+ "Reviewer: Change Owner <1@gerrit>\n"
|
||||
+ "CC: Other Account <2@gerrit>\n"
|
||||
+ "Label: Verified=+1\n"
|
||||
|
||||
Reference in New Issue
Block a user