{"thread":{"id":"47277","subject":"[PATCH] notes: correct 'git notes prune' options to '[-n] [-v]'","startedAt":"2017-11-21T19:18:47Z","lastAt":"2017-11-21T19:25:39Z","messageCount":2,"participants":["Robert P. J. Day","Jonathan Nieder"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"333119","messageId":"alpine.LFD.2.21.1711211414290.5204@localhost.localdomain","threadId":"47277","inReplyTo":null,"subject":"[PATCH] notes: correct 'git notes prune' options to '[-n] [-v]'","fromName":"Robert P. J. Day","fromEmail":"rpjday@crashcourse.ca","sentAt":"2017-11-21T19:17:21Z","receivedAt":"2017-11-21T19:18:47Z","isPatch":true,"sender":{"key":"rpjday@crashcourse.ca","avatar":"https://avatars.githubusercontent.com/u/226084077?v=4"},"body":"Currently, 'git notes prune' in man page and usage message\nincorrectly lists options as '[-n | -v]', rather than '[-n] [-v]'.\n\nSigned-off-by: Robert P. J. Day <rpjday@crashcourse.ca>\n\n---\n\n  i think i got it right this time.\n\ndiff --git a/Documentation/git-notes.txt b/Documentation/git-notes.txt\nindex 43677297f..e8dec1b3c 100644\n--- a/Documentation/git-notes.txt\n+++ b/Documentation/git-notes.txt\n@@ -18,7 +18,7 @@ SYNOPSIS\n 'git notes' merge --commit [-v | -q]\n 'git notes' merge --abort [-v | -q]\n 'git notes' remove [--ignore-missing] [--stdin] [<object>...]\n-'git notes' prune [-n | -v]\n+'git notes' prune [-n] [-v]\n 'git notes' get-ref\n\n\ndiff --git a/builtin/notes.c b/builtin/notes.c\nindex d7754db14..892e37a03 100644\n--- a/builtin/notes.c\n+++ b/builtin/notes.c\n@@ -33,7 +33,7 @@ static const char * const git_notes_usage[] = {\n \tN_(\"git notes merge --commit [-v | -q]\"),\n \tN_(\"git notes merge --abort [-v | -q]\"),\n \tN_(\"git notes [--ref <notes-ref>] remove [<object>...]\"),\n-\tN_(\"git notes [--ref <notes-ref>] prune [-n | -v]\"),\n+\tN_(\"git notes [--ref <notes-ref>] prune [-n] [-v]\"),\n \tN_(\"git notes [--ref <notes-ref>] get-ref\"),\n \tNULL\n };\n\n-- \n\n========================================================================\nRobert P. J. Day                                 Ottawa, Ontario, CANADA\n                        http://crashcourse.ca\n\nTwitter:                                       http://twitter.com/rpjday\nLinkedIn:                               http://ca.linkedin.com/in/rpjday\n========================================================================\n"},{"id":"333123","messageId":"20171121192532.GF3429@aiede.mtv.corp.google.com","threadId":"47277","inReplyTo":"alpine.LFD.2.21.1711211414290.5204@localhost.localdomain","subject":"Re: [PATCH] notes: correct 'git notes prune' options to '[-n] [-v]'","fromName":"Jonathan Nieder","fromEmail":"jrnieder@gmail.com","sentAt":"2017-11-21T19:25:32Z","receivedAt":"2017-11-21T19:25:39Z","isPatch":true,"sender":{"key":"jrnieder@gmail.com","avatar":"https://avatars.githubusercontent.com/u/281595?v=4"},"body":"Robert P. J. Day wrote:\n\n> Currently, 'git notes prune' in man page and usage message\n> incorrectly lists options as '[-n | -v]', rather than '[-n] [-v]'.\n>\n> Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>\n> ---\n\nReviewed-by: Jonathan Nieder <jrnieder@gmail.com>\nThanks.\n\n> diff --git a/Documentation/git-notes.txt b/Documentation/git-notes.txt\n> index 43677297f..e8dec1b3c 100644\n> --- a/Documentation/git-notes.txt\n> +++ b/Documentation/git-notes.txt\n> @@ -18,7 +18,7 @@ SYNOPSIS\n>  'git notes' merge --commit [-v | -q]\n>  'git notes' merge --abort [-v | -q]\n>  'git notes' remove [--ignore-missing] [--stdin] [<object>...]\n> -'git notes' prune [-n | -v]\n> +'git notes' prune [-n] [-v]\n>  'git notes' get-ref\n> \n> \n> diff --git a/builtin/notes.c b/builtin/notes.c\n> index d7754db14..892e37a03 100644\n> --- a/builtin/notes.c\n> +++ b/builtin/notes.c\n> @@ -33,7 +33,7 @@ static const char * const git_notes_usage[] = {\n>  \tN_(\"git notes merge --commit [-v | -q]\"),\n>  \tN_(\"git notes merge --abort [-v | -q]\"),\n>  \tN_(\"git notes [--ref <notes-ref>] remove [<object>...]\"),\n> -\tN_(\"git notes [--ref <notes-ref>] prune [-n | -v]\"),\n> +\tN_(\"git notes [--ref <notes-ref>] prune [-n] [-v]\"),\n>  \tN_(\"git notes [--ref <notes-ref>] get-ref\"),\n>  \tNULL\n>  };\n> \n"}]}