Skip to content

Commit e0795e2

Browse files
pks-tgitster
authored andcommitted
t0610: remove unused variable assignment
In b0f6b6b (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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent b0f6b6b commit e0795e2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

t/t0610-reftable-basics.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,6 @@ test_expect_success 'ref transaction: empty transaction in empty repo' '
332332
test_when_finished "rm -rf repo" &&
333333
git init repo &&
334334
test_commit -C repo --no-tag A &&
335-
COMMIT=$(git -C repo rev-parse HEAD) &&
336335
git -C repo update-ref -d refs/heads/main &&
337336
test-tool -C repo ref-store main delete-refs REF_NO_DEREF msg HEAD &&
338337
git -C repo update-ref --stdin <<-EOF

0 commit comments

Comments
 (0)