Message ID | pull.1435.git.1669483442230.gitgitgadget@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | d1ddc4e3f6ef039d72f2291b13d38647ebb49067 |
Headers | show |
Series | i18n: fix command template placeholder format | expand |
"Jean-Noël Avila via GitGitGadget" <gitgitgadget@gmail.com> writes: > i18n: fix command template placeholder format > > This patch applies to the revision 2.39 rc0 during the l10n process. Thanks, will queue.
Junio C Hamano wrote: > "Jean-Noël Avila via GitGitGadget" <gitgitgadget@gmail.com> writes: > >> i18n: fix command template placeholder format >> >> This patch applies to the revision 2.39 rc0 during the l10n process. > > Thanks, will queue. In case its helpful, an identical patch was sent on Wednesday, Subject: [PATCH] revert: add angle bracket around argument 'parent-number' in usage. <pull.1386.git.git.1669241489179.gitgitgadget@gmail.com> Its commit message notes: 8c9e292dc0 (doc txt & -h consistency: add missing options and labels, 2022-10-13) adds detailed usage line for revert and cherry-pick, which both contain a flag `-m` for parent number. Angle brackets shall be marked around parent-number, since it represents an argument.
On 11/27/22 00:24, Jean-Noël Avila via GitGitGadget wrote: > static const char * const revert_usage[] = { > - N_("git revert [--[no-]edit] [-n] [-m parent-number] [-s] [-S[<keyid>]] <commit>..."), > + N_("git revert [--[no-]edit] [-n] [-m <parent-number>] [-s] [-S[<keyid>]] <commit>..."), > N_("git revert (--continue | --skip | --abort | --quit)"), > NULL > }; > Looks OK, thanks! Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com>
Todd Zullinger <tmz@pobox.com> writes: >> Thanks, will queue. > > In case its helpful, an identical patch was sent on > Wednesday, Subject: [PATCH] revert: add angle bracket around > argument 'parent-number' in usage. Yup, more eyes finding the same issue is very good and is very much appreciated. And in a case like this trivial one, it is not surprising that there is only a single way to make it correct. Thanks, all, again for your contributions.
diff --git a/Documentation/git-revert.txt b/Documentation/git-revert.txt index 5016755efb6..d2e10d3dceb 100644 --- a/Documentation/git-revert.txt +++ b/Documentation/git-revert.txt @@ -8,7 +8,7 @@ git-revert - Revert some existing commits SYNOPSIS -------- [verse] -'git revert' [--[no-]edit] [-n] [-m parent-number] [-s] [-S[<keyid>]] <commit>... +'git revert' [--[no-]edit] [-n] [-m <parent-number>] [-s] [-S[<keyid>]] <commit>... 'git revert' (--continue | --skip | --abort | --quit) DESCRIPTION diff --git a/builtin/revert.c b/builtin/revert.c index ee32c714a76..6a9b550a61f 100644 --- a/builtin/revert.c +++ b/builtin/revert.c @@ -21,7 +21,7 @@ */ static const char * const revert_usage[] = { - N_("git revert [--[no-]edit] [-n] [-m parent-number] [-s] [-S[<keyid>]] <commit>..."), + N_("git revert [--[no-]edit] [-n] [-m <parent-number>] [-s] [-S[<keyid>]] <commit>..."), N_("git revert (--continue | --skip | --abort | --quit)"), NULL };