Re: [PATCH 6/7] commit,status: describe -u likewise
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 14, 2011, 19:57 UTC
- Message-ID
- <7vei7as82n.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <959cfaee441413401ddb7ad7fd29f4a98f668bec.1297695910.git.git@drmicha.warpmail.net>
Michael J Gruber <git@drmicha.warpmail.net> writes:
Show 13 quoted lines
> They differ by one character only. Being exactly equal should help
> translations.
>
> Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
> ---
> diff --git a/builtin/commit.c b/builtin/commit.c
> index 8a534de..ef2114b 100644
> --- a/builtin/commit.c
> +++ b/builtin/commit.c
> @@ -150,7 +150,7 @@ static struct option builtin_commit_options[] = {
> ...
> - { OPTION_STRING, 'u', "untracked-files", &untracked_files_arg, "mode", "show untracked files, optional modes: all, normal, no (Default: all)", PARSE_OPT_OPTARG, NULL, (intptr_t)"all" },
> + { OPTION_STRING, 'u', "untracked-files", &untracked_files_arg, "mode", "show untracked files, optional modes: all, normal, no. (Default: all)", PARSE_OPT_OPTARG, NULL, (intptr_t)"all" },Makes sense; thanks.
I however wonder if we have an opportunity for even more unifying these two arrays, typing the same thing only once.