diff options
author | René Scharfe <l.s.r@web.de> | 2023-12-06 12:52:01 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-12-08 23:41:03 +0100 |
commit | 792b86283b13fb2e06b9e62c64fca51b879d0266 (patch) | |
tree | 017a2a0b5b6caee7678cb68a7d44b133ecfbb6aa /revision.c | |
parent | worktree: standardize incompatibility messages (diff) | |
download | git-792b86283b13fb2e06b9e62c64fca51b879d0266.tar.xz git-792b86283b13fb2e06b9e62c64fca51b879d0266.zip |
worktree: simplify incompatibility message for --orphan and commit-ish
Use a single translatable string to report that the worktree add option
--orphan is incompatible with a commit-ish instead of having the
commit-ish in a separate translatable string. This reduces the number
of strings to translate and gives translators the full context.
A similar message is used in builtin/describe.c, but with the plural of
commit-ish, and here we need the singular form.
Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'revision.c')
0 files changed, 0 insertions, 0 deletions