Thread (238 messages) 238 messages, 6 authors, 2024-10-06

Re: [GSoC][PATCH v14 04/11] fsck: add refs report function

From: Patrick Steinhardt <hidden>
Date: 2024-08-05 12:58:16

On Thu, Aug 01, 2024 at 11:14:10PM +0800, shejialuo wrote:
quoted hunk ↗ jump to hunk
@@ -216,6 +222,16 @@ int fsck_tag_standalone(const struct object_id *oid, const char *buffer,
  */
 int fsck_finish(struct fsck_options *options);
 
+/*
+ * Report an error or warning for refs.
+ */
+__attribute__((format (printf, 4, 5)))
+int fsck_report_ref(struct fsck_options *options,
+		    struct fsck_ref_report *report,
+		    enum fsck_msg_id msg_id,
+		    const char *fmt, ...);
Nice that we got rid of the parts that don't matter for reporting refs
now.

Patrick

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help