mirror of
https://github.com/git/git.git
synced 2026-04-11 01:10:11 +02:00
i18n: factorize more 'incompatible options' messages
Find more incompatible options to factorize. When more than two options are mutually exclusive, print the ones which are actually on the command line. Signed-off-by: Jean-Noël Avila <jn.avila@free.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
5d01301f2b
commit
a699367bb8
@@ -442,7 +442,7 @@ test_expect_success '--fixup=reword: give error with pathsec' '
|
||||
'
|
||||
|
||||
test_expect_success '--fixup=reword: -F give error message' '
|
||||
echo "fatal: Only one of -c/-C/-F/--fixup can be used." >expect &&
|
||||
echo "fatal: options '\''-F'\'' and '\''--fixup'\'' cannot be used together" >expect &&
|
||||
test_must_fail git commit --fixup=reword:HEAD~ -F msg 2>actual &&
|
||||
test_cmp expect actual
|
||||
'
|
||||
|
||||
Reference in New Issue
Block a user