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

Re: [PATCH] completion: adapt git-config(1) to complete subcommands

From
Junio C Hamano <gitster@pobox.com>
Date
May 16, 2024, 15:53 UTC
Message-ID
<xmqqv83dsqhn.fsf@gitster.g>
In-Reply-To
<e0039edb9b7dce1e33c4cb6e964c50281c815e97.1715835356.git.ps@pks.im>
Patrick Steinhardt <ps@pks.im> writes:
> +	local subcommands="list get set unset rename-section remove-section edit"
Wouldn't "git config --git-completion-helper[-all]" work here?
Previous: Patrick SteinhardtNext: Patrick Steinhardt
Message 2 of 6 in “completion: adapt git-config(1) to complete subcommands”
  1. completion: adapt git-config(1) to complete subcommandsPatrick Steinhardt, May 16, 2024
  2. Junio C HamanoMay 16, 2024
  3. Patrick SteinhardtMay 17, 2024
  4. completion: adapt git-config(1) to complete subcommandsPatrick Steinhardt, May 17, 2024
  5. Rubén JustoMay 17, 2024
  6. Patrick SteinhardtMay 21, 2024

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.