t1416: avoid hard-coded sha1 ids
commit09b2aa30c916bd6facb47a06711755f043b6f37e
authorJeff King <peff@peff.net>
Tue, 11 Aug 2020 06:53:47 +0000 (11 02:53 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 11 Aug 2020 21:13:00 +0000 (11 14:13 -0700)
tree3ad12dc07397210e1e4d836bc323e545fd116f35
parente5256c82e569694c64adbbe4c1bef12bbba94f30
t1416: avoid hard-coded sha1 ids

The test added by e5256c82e5 (refs: fix interleaving hook calls with
reference-transaction hook, 2020-08-07) uses hard-coded sha1 object ids
in its expected output. This causes it to fail when run with
GIT_TEST_DEFAULT_HASH=sha256.

Let's make use of the oid variables we define earlier, as the rest of
the nearby tests do.

Signed-off-by: Jeff King <peff@peff.net>
Reviewed-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1416-ref-transaction-hooks.sh