t5516: prefer "oid" to "sha1" in some test titles

These old tests refer to object ids as "sha1". These days we prefer the more algorithm-agnostic "oid". There are a few more tests that mention sha1 in the title and also use it in variables throughout the test. I've left them for now, as changing them is more involved (and they're linked to the allowTipSHA1InWant config, which as a v0-only thing actually is always sha1). Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jeff King committed Mar 8, 2025 at 22:01 UTC 2de68c046e100fa441816d9c9cf30dbe272b6448
1 file changed +3 -3
t/t5516-fetch-push.sh
+3 -3
@@ -495,7 +495,7 @@ test_expect_success 'push tag with non-existent, incomplete dest' '
495
496 '
497
498 -test_expect_success 'push sha1 with non-existent, incomplete dest' '
498 +test_expect_success 'push oid with non-existent, incomplete dest' '
499
500 mk_test testrepo &&
501 test_must_fail git push testrepo $(git rev-parse main):foo
@@ -1251,7 +1251,7 @@ do
1251 '
1252 done
1253
1254 -test_expect_success 'fetch exact SHA1' '
1254 +test_expect_success 'fetch exact oid' '
1255 mk_test testrepo heads/main hidden/one &&
1256 git push testrepo main:refs/hidden/one &&
1257 (
@@ -1297,7 +1297,7 @@ test_expect_success 'fetch exact SHA1' '
1297 )
1298 '
1299
1300 -test_expect_success 'fetch exact SHA1 in protocol v2' '
1300 +test_expect_success 'fetch exact oid in protocol v2' '
1301 mk_test testrepo heads/main hidden/one &&
1302 git push testrepo main:refs/hidden/one &&
1303 git -C testrepo config transfer.hiderefs refs/hidden &&