]> git.ipfire.org Git - thirdparty/git.git/blobdiff - fsck.h
t3905: remove nested git in command substitution
[thirdparty/git.git] / fsck.h
diff --git a/fsck.h b/fsck.h
index 69cf715e798ce29085b529b88374c5de75e69529..423c467feb70307a0d60aa5563be38a1a8812d2b 100644 (file)
--- a/fsck.h
+++ b/fsck.h
@@ -62,6 +62,15 @@ int fsck_walk(struct object *obj, void *data, struct fsck_options *options);
 int fsck_object(struct object *obj, void *data, unsigned long size,
        struct fsck_options *options);
 
+/*
+ * fsck a tag, and pass info about it back to the caller. This is
+ * exposed fsck_object() internals for git-mktag(1).
+ */
+int fsck_tag_standalone(const struct object_id *oid, const char *buffer,
+                       unsigned long size, struct fsck_options *options,
+                       struct object_id *tagged_oid,
+                       int *tag_type);
+
 /*
  * Some fsck checks are context-dependent, and may end up queued; run this
  * after completing all fsck_object() calls in order to resolve any remaining
@@ -94,4 +103,11 @@ void fsck_put_object_name(struct fsck_options *options,
 const char *fsck_describe_object(struct fsck_options *options,
                                 const struct object_id *oid);
 
+/*
+ * git_config() callback for use by fsck-y tools that want to support
+ * fsck.<msg> fsck.skipList etc.
+ */
+int fsck_config_internal(const char *var, const char *value, void *cb,
+                        struct fsck_options *options);
+
 #endif