i18n: factorize even more 'incompatible options' messages
Continue the work of12909b6b8a
(i18n: turn "options are incompatible" into "cannot be used together", 2022-01-05) anda699367bb8
(i18n: factorize more 'incompatible options' messages, 2022-01-31) to use the same parameterized error message for reporting incompatible command line options. This reduces the number of strings to translate and makes the UI slightly more consistent. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
564d0252ca
commit
7854bf4960
@ -965,7 +965,9 @@ int cmd_clone(int argc, const char **argv, const char *prefix)
|
||||
}
|
||||
|
||||
if (bundle_uri && deepen)
|
||||
die(_("--bundle-uri is incompatible with --depth, --shallow-since, and --shallow-exclude"));
|
||||
die(_("options '%s' and '%s' cannot be used together"),
|
||||
"--bundle-uri",
|
||||
"--depth/--shallow-since/--shallow-exclude");
|
||||
|
||||
repo_name = argv[0];
|
||||
|
||||
|
Reference in New Issue
Block a user