Re: [PATCH v3 12/12] builtin/refs: new command to migrate ref storage formats
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 31, 2024, 23:46 UTC
- Message-ID
- <xmqqjzj9czop.fsf@gitster.g>
- In-Reply-To
- <d832414d1f8a7c8d9ec3ade13e11dd509c0ab641.1716877224.git.ps@pks.im>
Patrick Steinhardt <ps@pks.im> writes:
Show 12 quoted lines
> 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-refsThe 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.