]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t5606-clone-options.sh
Merge branch 'gc/branch-recurse-submodules-fix'
[thirdparty/git.git] / t / t5606-clone-options.sh
index d822153e4d29240babbd2904af9527e6f93e6528..8f676d6b0c0e2f6f72b2c0285afaca5b16be3017 100755 (executable)
@@ -46,7 +46,7 @@ test_expect_success 'disallows --bare with --origin' '
 
        test_must_fail git clone -o foo --bare parent clone-bare-o 2>err &&
        test_debug "cat err" &&
-       test_i18ngrep -e "--bare and --origin foo options are incompatible" err
+       test_i18ngrep -e "options .--bare. and .--origin foo. cannot be used together" err
 
 '
 
@@ -54,7 +54,7 @@ test_expect_success 'disallows --bare with --separate-git-dir' '
 
        test_must_fail git clone --bare --separate-git-dir dot-git-destiation parent clone-bare-sgd 2>err &&
        test_debug "cat err" &&
-       test_i18ngrep -e "--bare and --separate-git-dir are incompatible" err
+       test_i18ngrep -e "options .--bare. and .--separate-git-dir. cannot be used together" err
 
 '