t7003: ensure filter-branch prunes reflogs with the reftable backend
commit5918f30b65020dd87c59c3144a7237eb8cb78a69
authorPatrick Steinhardt <ps@pks.im>
Thu, 15 Feb 2024 08:25:55 +0000 (15 09:25 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 15 Feb 2024 18:12:31 +0000 (15 10:12 -0800)
treeaf51d29e5f0d13b21d6c4f27a5cf3f88d20b2d18
parentf85a032c676b818851926044aaea2e9065acdaa2
t7003: ensure filter-branch prunes reflogs with the reftable backend

In t7003 we conditionally check whether the reflog for branches pruned
by git-filter-branch(1) get deleted based on whether or not we use the
"files" backend. Same as with the preceding commit, this condition was
added because in its initial iteration the "reftable" backend did not
delete reflogs when their corresponding ref was deleted. Since then, the
backend has been aligned to behave the same as the "files" backend
though, which makes this check unnecessary.

Remove it.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7003-filter-branch.sh