summaryrefslogtreecommitdiffstats
path: root/revision.c
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2023-12-06 12:52:01 +0100
committerJunio C Hamano <gitster@pobox.com>2023-12-08 23:41:03 +0100
commit792b86283b13fb2e06b9e62c64fca51b879d0266 (patch)
tree017a2a0b5b6caee7678cb68a7d44b133ecfbb6aa /revision.c
parentworktree: standardize incompatibility messages (diff)
downloadgit-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