git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v3] backfill: handle unexpected arguments

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 23, 2026, 01:01 UTC
Message-ID
<xmqqa4vz7400.fsf@gitster.g>
In-Reply-To
<d8e6f854-e838-439f-bc5a-27cbb4091e4f@gmail.com>
Derrick Stolee <stolee@gmail.com> writes:
Show 8 quoted lines
>> +	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/pull.2070.git.1773707361.gitgitgadget@gmail.com/
Previous: Derrick StoleeNext: Derrick Stolee
Message 10 of 12 in “backfill: handle unexpected arguments”
  1. backfill: handle unexpected argumentsSiddharth Shrimali, Mar 21, 2026
  2. Junio C HamanoMar 21, 2026
  3. Junio C HamanoMar 21, 2026
  4. backfill: handle unexpected argumentsSiddharth Shrimali, Mar 21, 2026
  5. Junio C HamanoMar 22, 2026
  6. backfill: handle unexpected argumentsSiddharth Shrimali, Mar 22, 2026
  7. Phillip WoodMar 22, 2026
  8. Junio C HamanoMar 22, 2026
  9. Derrick StoleeMar 22, 2026
  10. Junio C HamanoMar 23, 2026
  11. Derrick StoleeMar 23, 2026
  12. Siddharth ShrimaliMar 23, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.