Introduce "fsck_refs_options" to represent the refs-related options. Mentored-by: Patrick Steinhardt <ps@xxxxxx> Mentored-by: Karthik Nayak <karthik.188@xxxxxxxxx> Signed-off-by: shejialuo <shejialuo@xxxxxxxxx> --- fsck.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fsck.h b/fsck.h index 0c581ef082..ff7281b410 100644 --- a/fsck.h +++ b/fsck.h @@ -131,6 +131,10 @@ int fsck_error_cb_print_missing_gitmodules(struct fsck_options *o, enum fsck_msg_id msg_id, const char *message); +struct fsck_refs_options { + unsigned verbose:1; +}; + struct fsck_objects_options { fsck_walk_func walk; struct oidset gitmodules_found; @@ -146,6 +150,7 @@ struct fsck_options { struct oidset oid_skiplist; fsck_error error_func; struct fsck_objects_options objects_options; + struct fsck_refs_options refs_options; }; #define FSCK_OBJECTS_OPTIONS_DEFAULT { \ -- 2.45.2