Subject: Re: [PATCH v3 12/12] builtin/refs: new command to migrate ref storage formats

From: Junio C Hamano <[email-masked]>
Date: Fri, 31 May 2024 16:46:30 -0700

Patrick Steinhardt <[email-masked]> writes:

> diff --git a/git.c b/git.c
> index 637c61ca9c..683bb69194 100644
> --- a/git.c
> +++ b/git.c
> @@ -594,6 +594,7 @@ static struct cmd_struct commands[] = {
>  	{ "rebase", cmd_rebase, RUN_SETUP | NEED_WORK_TREE },
>  	{ "receive-pack", cmd_receive_pack },
>  	{ "reflog", cmd_reflog, RUN_SETUP },
> +	{ "refs", cmd_refs, RUN_SETUP },
>  	{ "remote", cmd_remote, RUN_SETUP },
>  	{ "remote-ext", cmd_remote_ext, NO_PARSEOPT },
>  	{ "remote-fd", cmd_remote_fd, NO_PARSEOPT },

One thing missing is an entry in command-list.

If you ran "make check-docs", you would have seen

    $ make check-docs
    no link: git-refs

The Documentation/MyFirstContribution.txt file does mention
command-list, but it is rather messy and unorganized.  I think the
checklist at the top of <builtin.h> would be the best source of
information at this moment.

Thanks.