From: brian m. carlson Date: Sat, 22 Feb 2020 20:17:33 +0000 (+0000) Subject: t6300: make hash algorithm independent X-Git-Tag: v2.27.0-rc0~156^2~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8bd5a2906ebca9e2d7fcecd1628c1585ffbd85d3;p=thirdparty%2Fgit.git t6300: make hash algorithm independent One of the git for-each-ref tests asks to sort by object ID. However, when sorted, the order of the refs differs between SHA-1 and SHA-256. Sort the expected output so that the test passes. Signed-off-by: brian m. carlson Signed-off-by: Junio C Hamano --- diff --git a/t/t6300-for-each-ref.sh b/t/t6300-for-each-ref.sh index 2406b93d35..b3c1092338 100755 --- a/t/t6300-for-each-ref.sh +++ b/t/t6300-for-each-ref.sh @@ -650,7 +650,7 @@ test_atom refs/tags/signed-long contents "subject line body contents $sig" -cat >expected <expected < refs/tags/bogo $(git rev-parse refs/tags/master) refs/tags/master EOF