Skip to content

Commit 2de68c0

Browse files
peffgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 09781e3 commit 2de68c0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

t/t5516-fetch-push.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ test_expect_success 'push tag with non-existent, incomplete dest' '
495495
496496
'
497497

498-
test_expect_success 'push sha1 with non-existent, incomplete dest' '
498+
test_expect_success 'push oid with non-existent, incomplete dest' '
499499
500500
mk_test testrepo &&
501501
test_must_fail git push testrepo $(git rev-parse main):foo
@@ -1251,7 +1251,7 @@ do
12511251
'
12521252
done
12531253

1254-
test_expect_success 'fetch exact SHA1' '
1254+
test_expect_success 'fetch exact oid' '
12551255
mk_test testrepo heads/main hidden/one &&
12561256
git push testrepo main:refs/hidden/one &&
12571257
(
@@ -1297,7 +1297,7 @@ test_expect_success 'fetch exact SHA1' '
12971297
)
12981298
'
12991299

1300-
test_expect_success 'fetch exact SHA1 in protocol v2' '
1300+
test_expect_success 'fetch exact oid in protocol v2' '
13011301
mk_test testrepo heads/main hidden/one &&
13021302
git push testrepo main:refs/hidden/one &&
13031303
git -C testrepo config transfer.hiderefs refs/hidden &&

0 commit comments

Comments
 (0)