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

Re: What git config --replace-all ONE_ARG should do?

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 26, 2008, 21:24 UTC
Message-ID
<7v7ifpch6q.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<1b46aba20803260650o5e425250sb532a3b3197a1ecf@mail.gmail.com>
"Carlos Rica" <jasampler@gmail.com> writes:
> The command 'git config --replace-all ONE_ARG' currently
> tries to do the same as the command 'git config NAME VALUE',
> using --replace-all as the NAME and ONE_ARG as VALUE,
> printing "key does not contain a section: --replace-all".

That sounds silly, and I think it is an improvement to error out in such a case.

Previous: Carlos Rica
Message 2 of 2 in “What git config --replace-all ONE_ARG should do?”
  1. Carlos RicaMar 26, 2008
  2. Junio C HamanoMar 26, 2008

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.