aboutsummaryrefslogtreecommitdiffstats
path: root/refs/files-backend.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-10-13 22:00:35 -0700
committerJunio C Hamano <gitster@pobox.com>2025-10-13 22:00:35 -0700
commitf50f046794a06cfb97c4ccc879b08788629dd067 (patch)
tree24340fdc7f43cf9c3b9e747a3ed13461e64f9abe /refs/files-backend.c
parentMerge branch 'ps/commit-graph-per-object-source' (diff)
parentrefs/reftable: add fsck check for checking the table name (diff)
downloadgit-f50f046794a06cfb97c4ccc879b08788629dd067.tar.gz
git-f50f046794a06cfb97c4ccc879b08788629dd067.zip
Merge branch 'kn/reftable-consistency-checks'
The reftable backend learned to sanity check its on-disk data more carefully. * kn/reftable-consistency-checks: refs/reftable: add fsck check for checking the table name reftable: add code to facilitate consistency checks fsck: order 'fsck_msg_type' alphabetically Documentation/fsck-msgids: remove duplicate msg id reftable: check for trailing newline in 'tables.list' refs: move consistency check msg to generic layer refs: remove unused headers
Diffstat (limited to 'refs/files-backend.c')
-rw-r--r--refs/files-backend.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/refs/files-backend.c b/refs/files-backend.c
index bb2bec3807..5ddf418b18 100644
--- a/refs/files-backend.c
+++ b/refs/files-backend.c
@@ -20,7 +20,6 @@
#include "../dir-iterator.h"
#include "../lockfile.h"
#include "../object.h"
-#include "../object-file.h"
#include "../path.h"
#include "../dir.h"
#include "../chdir-notify.h"
@@ -3970,8 +3969,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);
}