We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d280170 + 3338e99 commit 273b0a1Copy full SHA for 273b0a1
t/t2024-checkout-dwim.sh
@@ -86,8 +86,13 @@ test_expect_success 'checkout of branch from multiple remotes fails with advice'
86
checkout foo 2>stderr &&
87
test_branch master &&
88
status_uno_is_clean &&
89
- test_i18ngrep ! "^hint: " stderr &&
90
- # Make sure the likes of checkout -p do not print this hint
+ test_i18ngrep ! "^hint: " stderr
+'
91
+
92
+test_expect_success PERL 'checkout -p with multiple remotes does not print advice' '
93
+ git checkout -B master &&
94
+ test_might_fail git branch -D foo &&
95
96
git checkout -p foo 2>stderr &&
97
test_i18ngrep ! "^hint: " stderr &&
98
status_uno_is_clean
0 commit comments