Subject: Re: [PATCH v3] backfill: handle unexpected arguments

From: Junio C Hamano <[email-masked]>
Date: Sun, 22 Mar 2026 18:01:51 -0700

Derrick Stolee <[email-masked]> writes:

>> +	if (argc) {
>> +		error(_("unknown argument '%s'"), argv[0]);
>> +		usage(builtin_backfill_usage[0]);
>> +	}
>
> Before we get too far into this: How does this interact with
> the ongoing change to introduce revision arguments to 'git
> backfill' [1]?

Ahh, that one completely slipped my mind.

Thanks for a doze of sanity.  This patch becomes completely
irrelevant if we are taking command line arguments.

It will become the responsibility of the other topic to detect and
complain about excess command line parameters (unless the feature it
adds absorbs all of them, which may be the case).

> [1] https://lore.kernel.org/git/[email-masked]/