orphan/unborn: fix use of 'orphan' in end-user facing messages
"orphan branch" is not even grammatical ("orphaned branch" is), and we have been using "unborn branch" to mean the state where the HEAD points at a branch that does not yet exist. Update end-user facing messages to correct them. There are cases other random words are used (e.g., "unparented branch") but now we have a glossary entry, use the term "unborn branch" consistently. Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
@ -1627,7 +1627,7 @@ static struct option *add_common_switch_branch_options(
|
||||
parse_opt_tracking_mode),
|
||||
OPT__FORCE(&opts->force, N_("force checkout (throw away local modifications)"),
|
||||
PARSE_OPT_NOCOMPLETE),
|
||||
OPT_STRING(0, "orphan", &opts->new_orphan_branch, N_("new-branch"), N_("new unparented branch")),
|
||||
OPT_STRING(0, "orphan", &opts->new_orphan_branch, N_("new-branch"), N_("new unborn branch")),
|
||||
OPT_BOOL_F(0, "overwrite-ignore", &opts->overwrite_ignore,
|
||||
N_("update ignored files (default)"),
|
||||
PARSE_OPT_NOCOMPLETE),
|
||||
|
Reference in New Issue
Block a user