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

Re: [PATCH 2/2] maintenance: add option to register in a specific config

From
Derrick Stolee <derrickstolee@github.com>
Date
Nov 7, 2022, 20:49 UTC
Message-ID
<22a74e0f-f389-7b9c-f2cc-b3581c246c75@github.com>
In-Reply-To
<20221105184532.457043-3-ronan@rjp.ie>
On 11/5/22 2:45 PM, Ronan Pigott wrote:
Show 5 quoted lines
> maintenance register currently records the maintenance repo exclusively
> within the user's global configuration, but other configuration files
> may be relevant when running maintenance if they are included from the
> global config. This option allows the user to choose where maintenance
> repos are recorded.
Taylor already provided most of the feedback that I would have given.
>  static char const * const builtin_maintenance_register_usage[] = {
> -	"git maintenance register",
> +	"git maintenance register [--config <file>]",

The only recommendation I have remaining is to rename this option to `--config-file=<file>` since it is unclear from just "--config" if it is a config _file_ or a config _key_.

Thanks, -Stolee

Previous: Taylor Blau
Message 8 of 8 in “git-maintenance quality-of-life improvements”
  1. 0/2 git-maintenance quality-of-life improvementsRonan Pigott, Nov 5, 2022
  2. 1/2 for-each-repo: interpolate repo path argumentsRonan Pigott, Nov 5, 2022
  3. Taylor BlauNov 6, 2022
  4. Derrick StoleeNov 7, 2022
  5. 2/2 maintenance: add option to register in a specific configRonan Pigott, Nov 5, 2022
  6. Taylor BlauNov 6, 2022
  7. Taylor BlauNov 6, 2022
  8. Derrick StoleeNov 7, 2022

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.