refs: move consistency check msg to generic layer

The files-backend prints a message before the consistency checks run.
Move this to the generic layer so both the files and reftable backend
can benefit from this message.

Signed-off-by: Karthik Nayak <karthik.188@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Karthik Nayak
2025-10-07 14:11:26 +02:00
committed by Junio C Hamano
parent 2d2920c0ce
commit 1ef32f0989
2 changed files with 4 additions and 2 deletions

View File

@@ -3826,8 +3826,6 @@ static int files_fsck_refs(struct ref_store *ref_store,
NULL,
};
if (o->verbose)
fprintf_ln(stderr, _("Checking references consistency"));
return files_fsck_refs_dir(ref_store, o, "refs", wt, fsck_refs_fn);
}