]> git.ipfire.org Git - thirdparty/git.git/commit
t1405: remove unneeded cleanup step
authorPatrick Steinhardt <ps@pks.im>
Thu, 15 Feb 2024 08:25:47 +0000 (09:25 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 15 Feb 2024 18:12:30 +0000 (10:12 -0800)
commitc4e3af6d97d27148b638ad09ff8eebd682aecacf
tree16101743e61da13167beed95bb76529b96b6b897
parent3f87bb2c2b83faf7854db293457ed7c275e457e5
t1405: remove unneeded cleanup step

In 5e00514745 (t1405: explictly delete reflogs for reftable, 2022-01-31)
we have added a test that explicitly deletes the reflog when not using
the "files" backend. This was required because back then, the "reftable"
backend didn't yet delete reflogs when deleting their corresponding
branches, and thus subsequent tests would fail because some unexpected
reflogs still exist.

The "reftable" backend was eventually changed though so that it behaves
the same as the "files" backend and deletes reflogs when deleting refs.
This was done to make the "reftable" backend behave like the "files"
backend as closely as possible so that it can act as a drop-in
replacement.

The cleanup-style test is thus not required anymore. Remove it.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1405-main-ref-store.sh