shejialuo <shejialuo@xxxxxxxxx> writes: [snip] > diff --git a/refs/debug.c b/refs/debug.c > index 547d9245b9..110a264522 100644 > --- a/refs/debug.c > +++ b/refs/debug.c > @@ -419,6 +419,13 @@ static int debug_reflog_expire(struct ref_store *ref_store, const char *refname, > return res; > } > > +static int debug_fsck(struct ref_store *ref_store, > + struct fsck_refs_options *o) > +{ > + trace_printf_key(&trace_refs, "fsck\n"); > + return 0; > +} > + > The debug interface acts as a wrapper around the actual refs backend being used, as such, you need to still call the underlying backend here. [snip]
Attachment:
signature.asc
Description: PGP signature