@matheusbsbs / matheus-bagliano / commits / 49c9a2ffe5
Fork 0

t3200: mark assertion with SHA1 prerequisite

One of the test assertions in this test checks that git branch -m works even without a .git/config file. However, if the repository requires configuration extensions, such as because it uses a non-SHA-1 algorithm, this assertion will fail. Mark the assertion as requiring SHA-1. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

brian m. carlson committed May 25, 2020 at 19:59 UTC 49c9a2ffe59b2e89ed4fd3f90b3dbc5d67760d74
1 file changed +1 -1
t/t3200-branch.sh
+1 -1
@@ -402,7 +402,7 @@ EOF
402
403 mv .git/config .git/config-saved
404
405 -test_expect_success 'git branch -m q q2 without config should succeed' '
405 +test_expect_success SHA1 'git branch -m q q2 without config should succeed' '
406 git branch -m q q2 &&
407 git branch -m q2 q
408 '