Thread View: linux.kernel.git
1 messages
1 total messages
Started by Junio C Hamano
Tue, 17 Nov 2026 01:37
Re: [PATCH v4 09/12] builtin/rerere: turn "diff" into a proper subcommand
Author: Junio C Hamano
Date: Tue, 17 Nov 2026 01:37
Date: Tue, 17 Nov 2026 01:37
23 lines
13231 bytes
13231 bytes
Patrick Steinhardt <ps@pks.im> writes:
> +static int cmd_rerere_diff(int argc,
> + const char **argv,
> + const char *prefix,
> + struct repository *repo)
> +{
> + struct option options[] = {
> + OPT_END(),
> + };
> + struct string_list merge_rr = STRING_LIST_INIT_DUP;
> + struct strbuf buf = STRBUF_INIT;
> + struct rerere_cache cache;
> +
> + argc = parse_options(argc, argv, prefix, options, rerere_usage, 0);
> + if (argc)
> + usage(_("too many arguments"));
We will make a mental note that "rerere diff" does not take any
extra arguments.
This matters when we look at the documentation patch later.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads