aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/checkout.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-11-25 12:29:45 +0900
committerJunio C Hamano <gitster@pobox.com>2024-11-25 12:29:45 +0900
commit058c36aa261d0cc7e2d7dfa26ad151eb322e3cd6 (patch)
tree1264045043ca50f56fb85deed8ec8e94541ac5e8 /builtin/checkout.c
parentfd78021b91902dd85d07bedbd040ea057c6ffeba (diff)
parentb8139c8f4e761bd24f4ffc3170203e82c75165e2 (diff)
downloadgit-058c36aa261d0cc7e2d7dfa26ad151eb322e3cd6.tar.gz
Merge branch 'kh/checkout-ignore-other-docfix' into maint-2.47
Doc updates. * kh/checkout-ignore-other-docfix: checkout: refer to other-worktree branch, not ref
Diffstat (limited to 'builtin/checkout.c')
-rw-r--r--builtin/checkout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/checkout.c b/builtin/checkout.c
index 9c30000d3a..c449558e66 100644
--- a/builtin/checkout.c
+++ b/builtin/checkout.c
@@ -1716,7 +1716,7 @@ static struct option *add_common_switch_branch_options(
N_("update ignored files (default)"),
PARSE_OPT_NOCOMPLETE),
OPT_BOOL(0, "ignore-other-worktrees", &opts->ignore_other_worktrees,
- N_("do not check if another worktree is holding the given ref")),
+ N_("do not check if another worktree is using this branch")),
OPT_END()
};
struct option *newopts = parse_options_concat(prevopts, options);