Message ID | 755ea17d3d88462e8c0a9a8338a0c82ad6506338.1709723814.git.ps@pks.im (mailing list archive) |
---|---|
State | Accepted |
Commit | e0795e2c7912bc407e311b8cd3ae908bc354d8c9 |
Headers | show |
Series | t0610: remove unused variable assignment | expand |
diff --git a/t/t0610-reftable-basics.sh b/t/t0610-reftable-basics.sh index c5f4d23433..686781192e 100755 --- a/t/t0610-reftable-basics.sh +++ b/t/t0610-reftable-basics.sh @@ -332,7 +332,6 @@ test_expect_success 'ref transaction: empty transaction in empty repo' ' test_when_finished "rm -rf repo" && git init repo && test_commit -C repo --no-tag A && - COMMIT=$(git -C repo rev-parse HEAD) && git -C repo update-ref -d refs/heads/main && test-tool -C repo ref-store main delete-refs REF_NO_DEREF msg HEAD && git -C repo update-ref --stdin <<-EOF
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> --- t/t0610-reftable-basics.sh | 1 - 1 file changed, 1 deletion(-)