From: Patrick Steinhardt Date: Wed, 08 Jul 2026 05:59:54 GMT Subject: Re: [PATCH 1/2] t: add tests for ref tombstone scenarios Message-ID: In-Reply-To: On Tue, Jul 07, 2026 at 06:12:31PM +0200, Kristofer Karlsson wrote: > On Tue, 7 Jul 2026 at 17:24, Patrick Steinhardt wrote: > > On Mon, Jul 06, 2026 at 01:35:55PM +0000, Kristofer Karlsson via GitGitGadget wrote: > > > diff --git a/t/t0610-reftable-basics.sh b/t/t0610-reftable-basics.sh > > > +test_expect_success 'delete and re-create refs with tombstones' ' > > > > I wonder whether this test really adds any value. We probably have lots > > of tests already that test creation/deletion of references. > > I could not find an existing test that covers the delete-then-recreate > flow (where tombstones are present when the new refs are created). > The existing tests cover creation and deletion separately but not the > interaction with tombstones. > (But perhaps such a test exists and I just can't find it.) In t1400 we definitely have some tests where we exercise this implicitly. In any case, if we want to retain this test I'd rather add it to t1400 itself, as the functionality that we're testing is itself not specific to the backend. Patrick