aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/fsck-msgids.adoc
diff options
context:
space:
mode:
authorKarthik Nayak <karthik.188@gmail.com>2025-10-07 14:11:31 +0200
committerJunio C Hamano <gitster@pobox.com>2025-10-07 09:22:58 -0700
commit466a3a1afdd82bb2b0e24e5cbed1ff3b35c19abd (patch)
tree44e096c9d7908d8edc28aeef09a44c347dfb470d /Documentation/fsck-msgids.adoc
parentreftable: add code to facilitate consistency checks (diff)
downloadgit-466a3a1afdd82bb2b0e24e5cbed1ff3b35c19abd.tar.gz
git-466a3a1afdd82bb2b0e24e5cbed1ff3b35c19abd.zip
refs/reftable: add fsck check for checking the table name
Add glue code in 'refs/reftable-backend.c' which calls the reftable library to perform the fsck checks. Here we also map the reftable errors to Git' fsck errors. Introduce a check to validate table names for a given reftable stack. Also add 'badReftableTableName' as a corresponding error within Git. The reftable specification mentions: It suggested to use ${min_update_index}-${max_update_index}-${random}.ref as a naming convention. So treat non-conformant file names as warnings. While adding the fsck header to 'refs/reftable-backend.c', modify the list to maintain lexicographical ordering. Signed-off-by: Karthik Nayak <karthik.188@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/fsck-msgids.adoc')
-rw-r--r--Documentation/fsck-msgids.adoc3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/fsck-msgids.adoc b/Documentation/fsck-msgids.adoc
index 1c912615f9..81f11ba125 100644
--- a/Documentation/fsck-msgids.adoc
+++ b/Documentation/fsck-msgids.adoc
@@ -38,6 +38,9 @@
`badReferentName`::
(ERROR) The referent name of a symref is invalid.
+`badReftableTableName`::
+ (WARN) A reftable table has an invalid name.
+
`badTagName`::
(INFO) A tag has an invalid format.