From: Junio C Hamano Date: Wed, 4 Dec 2024 01:14:47 +0000 (+0900) Subject: Merge branch 'kn/pass-repo-to-builtin-sub-sub-commands' X-Git-Tag: v2.48.0-rc0~31 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1e18cf4310b531cd5d943b9f9522292e7cc4d9e7;p=thirdparty%2Fgit.git Merge branch 'kn/pass-repo-to-builtin-sub-sub-commands' Built-in Git subcommands are supplied the repository object to work with; they learned to do the same when they invoke sub-subcommands. * kn/pass-repo-to-builtin-sub-sub-commands: builtin: pass repository to sub commands --- 1e18cf4310b531cd5d943b9f9522292e7cc4d9e7 diff --cc builtin/refs.c index 394b4101c6,3502980d21..a29f195834 --- a/builtin/refs.c +++ b/builtin/refs.c @@@ -64,10 -64,10 +65,11 @@@ out return err; } - static int cmd_refs_verify(int argc, const char **argv, const char *prefix) + static int cmd_refs_verify(int argc, const char **argv, const char *prefix, + struct repository *repo UNUSED) { struct fsck_options fsck_refs_options = FSCK_REFS_OPTIONS_DEFAULT; + struct worktree **worktrees; const char * const verify_usage[] = { REFS_VERIFY_USAGE, NULL,