summaryrefslogtreecommitdiff
path: root/builtin/count-objects.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2023-07-03 02:43:58 -0400
committerJunio C Hamano <gitster@pobox.com>2023-07-13 17:23:59 -0700
commitb8ef49d54c83c1dfa7026bad47b315f16bb9c16a (patch)
treee764550af78668d379869a49a8958c0cf076bab5 /builtin/count-objects.c
parentaa9166bcc0ba654fc21f198a30647ec087f733ed (diff)
test-ref-store: drop unimplemented reflog-expire command
The reflog-expire command has been unimplemented since it was added in 80f2a6097c (t/helper: add test-ref-store to test ref-store functions, 2017-03-26). This causes -Wunused-parameter to complain, since the function just calls die() without looking at its arguments. We could mark these as UNUSED to silence the warning. But let's just drop the function. It has no callers in the test suite and is not doing anything useful, beyond perhaps reminding us that it's something we _could_ be testing. But since the bulk of the work in adding such tests would be the shell bits that actually examine the reflog state before and after expiration, this is not even a useful step in that direction. Somebody who wants to do that work later can easily add this function back. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/count-objects.c')
0 files changed, 0 insertions, 0 deletions