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

Re: [PATCH] parse-options: don't complete option aliases by default

From
Philippe Blain <levraiphilippeblain@gmail.com>
Date
Jul 16, 2021, 01:28 UTC
Message-ID
<c8322c37-38da-bde7-9361-adb68834b7d1@gmail.com>
In-Reply-To
<60f06a8a8e611_4b68208a9@natae.notmuch>
Hi Felipe,
Le 2021-07-15 à 13:04, Felipe Contreras a écrit :
Show 11 quoted lines
> Philippe Blain via GitGitGadget wrote:
>> From: Philippe Blain <levraiphilippeblain@gmail.com>
>>
>>
>> Helpfully, since 64cc539fd2 (parse-options: don't leak alias help
>> messages, 2021-03-21) these copies have the PARSE_OPT_FROM_ALIAS flag
>> set, so check that flag early in 'show_gitcomp' and do not print them,
> 
> Makes sense but I don't think what the patch is doing should be buried
> here. I think a separate paragraph explaining what you are trying to do
> will be better.
Indeed. Will clarify.
Show 5 quoted lines
> 
> I agree this is better, and the patch itself looks obviously correct.
> 
> Reviewed-by: Felipe Contreras <felipe.contreras@gmail.com>
> 
Thanks!
Philippe.
Previous: Felipe ContrerasNext: Philippe Blain via GitGitGadget
Message 8 of 9 in “parse-options: don't complete option aliases by default”
  1. parse-options: don't complete option aliases by defaultPhilippe Blain via GitGitGadget, Jul 15, 2021
  2. Ævar Arnfjörð BjarmasonJul 15, 2021
  3. Felipe ContrerasJul 15, 2021
  4. Junio C HamanoJul 15, 2021
  5. Philippe BlainJul 16, 2021
  6. Philippe BlainJul 16, 2021
  7. Felipe ContrerasJul 15, 2021
  8. Philippe BlainJul 16, 2021
  9. parse-options: don't complete option aliases by defaultPhilippe Blain via GitGitGadget, Jul 16, 2021

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.