i18n: turn "options are incompatible" into "cannot be used together"
Signed-off-by: Jean-Noël Avila <jn.avila@free.fr> Reviewed-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
c488182903
commit
12909b6b8a
@ -1849,7 +1849,7 @@ int cmd_index_pack(int argc, const char **argv, const char *prefix)
|
||||
if (from_stdin && !startup_info->have_repository)
|
||||
die(_("--stdin requires a git repository"));
|
||||
if (from_stdin && hash_algo)
|
||||
die(_("--object-format cannot be used with --stdin"));
|
||||
die(_("options '%s' and '%s' cannot be used together"), "--object-format", "--stdin");
|
||||
if (!index_name && pack_name)
|
||||
index_name = derive_filename(pack_name, "pack", "idx", &index_name_buf);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user