t0610: remove unused variable assignment
In b0f6b6b523 (refs/reftable: don't fail empty transactions in repo without HEAD, 2024-02-27), we have added a new test to t0610. This test contains a useless assignment to a variable that is never actually used. Remove it. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Patrick Steinhardt committed
Mar 6, 2024 at 12:17 UTC
e0795e2c7912bc407e311b8cd3ae908bc354d8c9
1 file changed
-1
t/t0610-reftable-basics.sh
-1
@@ -332,7 +332,6 @@ test_expect_success 'ref transaction: empty transaction in empty repo' '
332
test_when_finished "rm -rf repo" &&
333
git init repo &&
334
test_commit -C repo --no-tag A &&
335
- COMMIT=$(git -C repo rev-parse HEAD) &&
335
git -C repo update-ref -d refs/heads/main &&
336
test-tool -C repo ref-store main delete-refs REF_NO_DEREF msg HEAD &&
337
git -C repo update-ref --stdin <<-EOF