]> git.ipfire.org Git - thirdparty/git.git/commit
t1417: make `reflog --updateref` tests backend agnostic
authorPatrick Steinhardt <ps@pks.im>
Wed, 29 Nov 2023 07:24:57 +0000 (08:24 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sun, 3 Dec 2023 02:50:24 +0000 (11:50 +0900)
commit7e1fcb81eef3be73890d7c469da508b9bf3327b5
tree905afde8f5c26b9a667e634b114537a5458c8618
parent88121d93714507fe8bb0bddfaffe0bf4a0a88a36
t1417: make `reflog --updateref` tests backend agnostic

The tests for `git reflog delete --updateref` are currently marked to
only run with the reffiles backend. There is no inherent reason that
this should be the case other than the fact that the setup messes with
the on-disk reflogs directly.

Refactor the test to stop doing so and drop the REFFILES prerequisite.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1417-reflog-updateref.sh