Skip to content

Commit 98c32bd

Browse files
ralfthgitster
authored andcommitted
tag, update-ref: improve description of option "create-reflog"
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 7306b39 commit 98c32bd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

builtin/tag.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ int cmd_tag(int argc, const char **argv, const char *prefix)
606606
OPT_STRING('u', "local-user", &keyid, N_("key-id"),
607607
N_("use another key to sign the tag")),
608608
OPT__FORCE(&force, N_("replace the tag if exists")),
609-
OPT_BOOL(0, "create-reflog", &create_reflog, N_("create_reflog")),
609+
OPT_BOOL(0, "create-reflog", &create_reflog, N_("create a reflog")),
610610

611611
OPT_GROUP(N_("Tag listing options")),
612612
OPT_COLUMN(0, "column", &colopts, N_("show tag list in columns")),

builtin/update-ref.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ int cmd_update_ref(int argc, const char **argv, const char *prefix)
365365
N_("update <refname> not the one it points to")),
366366
OPT_BOOL('z', NULL, &end_null, N_("stdin has NUL-terminated arguments")),
367367
OPT_BOOL( 0 , "stdin", &read_stdin, N_("read updates from stdin")),
368-
OPT_BOOL( 0 , "create-reflog", &create_reflog, N_("create_reflog")),
368+
OPT_BOOL( 0 , "create-reflog", &create_reflog, N_("create a reflog")),
369369
OPT_END(),
370370
};
371371

0 commit comments

Comments
 (0)