diff options
| author | Patrick Steinhardt <ps@pks.im> | 2024-02-15 09:25:38 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-02-15 10:12:30 -0800 |
| commit | 129a1698747ab2e79a1ad6a3c973e54cc1c57364 (patch) | |
| tree | cf4209a6bc2fc4517801c2d5ff23072299e579ed /t/unit-tests/t-mem-pool.c | |
| parent | e98839843b1169b92d863eb56f1d3299c6fad8b9 (diff) | |
t1400: exercise reflog with gaps with reftable backend
In t1400, we have a test that exercises whether we print a warning
message as expected when the reflog contains entries which have a gap
between the old entry's new object ID and the new entry's old object ID.
While the logic should apply to all ref backends, the test setup writes
into `.git/logs` directly and is thus "files"-backend specific.
Refactor the test to instead use `git reflog delete` to create the gap
and drop the REFFILES prerequisite.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/unit-tests/t-mem-pool.c')
0 files changed, 0 insertions, 0 deletions
