1
0
mirror of https://github.com/git/git.git synced 2024-10-19 16:28:32 +02:00

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>
This commit is contained in:
brian m. carlson 2020-05-25 19:59:09 +00:00 committed by Junio C Hamano
parent d553acebee
commit 49c9a2ffe5

@ -402,7 +402,7 @@ EOF
mv .git/config .git/config-saved
test_expect_success 'git branch -m q q2 without config should succeed' '
test_expect_success SHA1 'git branch -m q q2 without config should succeed' '
git branch -m q q2 &&
git branch -m q2 q
'