git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] tag, update-ref: improve description of option "create-reflog"

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 11, 2015, 16:47 UTC
Message-ID
<xmqq613g2990.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<1441987453-22125-1-git-send-email-ralf.thielow@gmail.com>
Ralf Thielow <ralf.thielow@gmail.com> writes:
Show 6 quoted lines
> The description of option "create-reflog" is "create_reflog", which
> is neither a good description, nor a sensible string to translate.
> Change it to a more meaningful message.
>
> Signed-off-by: Ralf Thielow <ralf.thielow@gmail.com>
> ---

This definitely is an improvement. I will assume i18n team is OK with a change like this this late in the cycle (I see you CC'ed Jiang) and will merge before the next -rc.

Thanks.
Show 29 quoted lines
>  builtin/tag.c        | 2 +-
>  builtin/update-ref.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/builtin/tag.c b/builtin/tag.c
> index cccca99..cba0e22 100644
> --- a/builtin/tag.c
> +++ b/builtin/tag.c
> @@ -606,7 +606,7 @@ int cmd_tag(int argc, const char **argv, const char *prefix)
>  		OPT_STRING('u', "local-user", &keyid, N_("key-id"),
>  					N_("use another key to sign the tag")),
>  		OPT__FORCE(&force, N_("replace the tag if exists")),
> -		OPT_BOOL(0, "create-reflog", &create_reflog, N_("create_reflog")),
> +		OPT_BOOL(0, "create-reflog", &create_reflog, N_("create a reflog")),
>  
>  		OPT_GROUP(N_("Tag listing options")),
>  		OPT_COLUMN(0, "column", &colopts, N_("show tag list in columns")),
> diff --git a/builtin/update-ref.c b/builtin/update-ref.c
> index 04dd00f..7f30d3a 100644
> --- a/builtin/update-ref.c
> +++ b/builtin/update-ref.c
> @@ -365,7 +365,7 @@ int cmd_update_ref(int argc, const char **argv, const char *prefix)
>  					N_("update <refname> not the one it points to")),
>  		OPT_BOOL('z', NULL, &end_null, N_("stdin has NUL-terminated arguments")),
>  		OPT_BOOL( 0 , "stdin", &read_stdin, N_("read updates from stdin")),
> -		OPT_BOOL( 0 , "create-reflog", &create_reflog, N_("create_reflog")),
> +		OPT_BOOL( 0 , "create-reflog", &create_reflog, N_("create a reflog")),
>  		OPT_END(),
>  	};
Previous: Ralf ThielowNext: Jiang Xin
Message 2 of 3 in “tag, update-ref: improve description of option "create-reflog"”
  1. tag, update-ref: improve description of option "create-reflog"Ralf Thielow, Sep 11, 2015
  2. Junio C HamanoSep 11, 2015
  3. Jiang XinSep 12, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.