Skip to content

Commit 153ec92

Browse files
committed
Merge branch 'rt/help-strings-fix'
* rt/help-strings-fix: tag, update-ref: improve description of option "create-reflog" pull: don't mark values for option "rebase" for translation
2 parents 45733fa + 98c32bd commit 153ec92

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

builtin/pull.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ static struct option pull_options[] = {
112112
/* Options passed to git-merge or git-rebase */
113113
OPT_GROUP(N_("Options related to merging")),
114114
{ OPTION_CALLBACK, 'r', "rebase", &opt_rebase,
115-
N_("false|true|preserve"),
115+
"false|true|preserve",
116116
N_("incorporate changes by rebasing rather than merging"),
117117
PARSE_OPT_OPTARG, parse_opt_rebase },
118118
OPT_PASSTHRU('n', NULL, &opt_diffstat, NULL,

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)