From c7b3ad368e46a7b9dad5e69ea25cfaaa6cb3a495 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 17 Oct 2026 12:53:17 -1000 Subject: Date a reftable repository on the index The idle column falls back on the mtime of the branch's loose ref or of packed-refs, and a reftable repository has neither, so its cell stayed empty. Git rewrites reftable/tables.list on every ref update. --- tests/t0303-robustness.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/t0303-robustness.sh') diff --git a/tests/t0303-robustness.sh b/tests/t0303-robustness.sh index 14bdca7..848b03a 100755 --- a/tests/t0303-robustness.sh +++ b/tests/t0303-robustness.sh @@ -616,6 +616,11 @@ test_expect_success 'the dumb transport answers HEAD from the refs' ' test_cmp expect head ' +test_expect_success 'a reftable repository shows its age on the index' ' + CGIT_CONFIG="$PWD/rtrc" QUERY_STRING="url=" cgit >tmp && + grep "