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:
Dave Borowitz
2014-01-30 08:35:23 -08:00
parent 17c9a59e81
commit a958192606
2 changed files with 2 additions and 2 deletions

View File

@@ -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();

View File

@@ -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"