]> git.ipfire.org Git - thirdparty/git.git/commitdiff
tag, update-ref: improve description of option "create-reflog"
authorRalf Thielow <ralf.thielow@gmail.com>
Fri, 11 Sep 2015 16:04:13 +0000 (18:04 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 11 Sep 2015 16:50:02 +0000 (09:50 -0700)
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>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/tag.c
builtin/update-ref.c

index cccca991046a6f4b6cf967a99a7f7a4396d4d588..cba0e2266623d57fe96fcec1910c562bf424d143 100644 (file)
@@ -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")),
index 04dd00f734166acc9c0670de061c4612877a7187..7f30d3a76f69e58ae3cdbbe05c5ebdce6c8a120d 100644 (file)
@@ -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(),
        };