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

Re: [PATCHv2 2/2] completion: complete config variables for --get/getall/unset/unset-all

From
Stephen Boyd <bebarino@gmail.com>
Date
May 12, 2009, 19:05 UTC
Message-ID
<780e0a6b0905121205r7a57a99as2cb0b94ead73199d@mail.gmail.com>
In-Reply-To
<7vtz3q91up.fsf@alter.siamese.dyndns.org>
On Tue, May 12, 2009 at 1:12 AM, Junio C Hamano <gitster@pobox.com> wrote:
Show 22 quoted lines
> Stephen Boyd <bebarino@gmail.com> writes:
>
>> Shawn O. Pearce wrote:
>>> These probably could have been one patch, since the function
>>> is introduced only to support this one usage, and this patch
>>> is only 4 lines larger than the function definition anyway...
>>
>> Seeing that this hasn't been picked up yet, I'm fine with this being
>> squashed into one commit. Could you use this combination of the two
>> messages for the commit?
>>
>> ---8<----
>>
>> Subject: completion: complete config variables for
>> --get/getall/unset/unset-all
>
> Hmm, shouldn't this just be
>
>    Subject: completion: complete variable names for "git config" command
>
> ?
>

This patch adds completion for set variable names when --get, --get-all, --set, or --set-all has been specified. Completion of variable names for git config already exists. Maybe this would be more clear:

Subject: completion: complete set variable names for git config
--get/get-all/set-set-all
Previous: Junio C HamanoNext: Junio C Hamano
Message 7 of 9 in “[PATCHv2 0/2] completion: config --unset/get”
  1. Stephen BoydMay 9, 2009
  2. 1/2 completion: add __git_config_get_set_variables() to get config variablesStephen Boyd, May 9, 2009
  3. 2/2 completion: complete config variables for --get/getall/unset/unset-allStephen Boyd, May 9, 2009
  4. Shawn O. PearceMay 9, 2009
  5. Stephen BoydMay 12, 2009
  6. Junio C HamanoMay 12, 2009
  7. Stephen BoydMay 12, 2009
  8. Junio C HamanoMay 13, 2009
  9. Stephen BoydMay 13, 2009

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.