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

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

From
Patrick Steinhardt <ps@pks.im>
Date
May 17, 2024, 06:05 UTC
Message-ID
<ZkbzkYhJVO-uEeX5@tanuki>
In-Reply-To
<xmqqv83dsqhn.fsf@gitster.g>
On Thu, May 16, 2024 at 08:53:08AM -0700, Junio C Hamano wrote:
Show 5 quoted lines
> 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?

I knew there was something here, but I just wasn't able to find it yesterday.

Will fix, thanks!
Patrick
Previous: Junio C HamanoNext: Patrick Steinhardt
Message 3 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.