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
@ -1700,10 +1700,10 @@ static int push_stash(int argc, const char **argv, const char *prefix,
|
||||
|
||||
if (pathspec_from_file) {
|
||||
if (patch_mode)
|
||||
die(_("--pathspec-from-file is incompatible with --patch"));
|
||||
die(_("options '%s' and '%s' cannot be used together"), "--pathspec-from-file", "--patch");
|
||||
|
||||
if (only_staged)
|
||||
die(_("--pathspec-from-file is incompatible with --staged"));
|
||||
die(_("options '%s' and '%s' cannot be used together"), "--pathspec-from-file", "--staged");
|
||||
|
||||
if (ps.nr)
|
||||
die(_("--pathspec-from-file is incompatible with pathspec arguments"));
|
||||
|
Reference in New Issue
Block a user