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

Re: [PATCH v2 try2 3/4] completion: bash: fix for multiple dash commands

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
Jun 7, 2021, 19:11 UTC
Message-ID
<60be6f7fa4435_db80d208f2@natae.notmuch>
In-Reply-To
<20210607190046.GB6312@szeder.dev>
SZEDER Gábor wrote:
Show 8 quoted lines
> On Sun, Jun 06, 2021 at 01:47:25PM -0500, Felipe Contreras wrote:
> > Otherwise commands like 'for-each-ref' are not completed.
> 
> I think you meant that options of commands like 'for-each-ref' are not
> completed.  The command itself can be completed just fine:
> 
>   $ git for<TAB>
>   for-each-ref      format-patch      

Yes, I meant commands like 'for-each-ref' are not completed correctly... by __gitcomp_builtin. Which in practical tearms means what you just described above.

-- 
Felipe Contreras
Previous: SZEDER GáborNext: Junio C Hamano
Message 6 of 16 in “completion: bash: a bunch of fixes”
  1. 0/4 completion: bash: a bunch of fixesFelipe Contreras, Jun 6, 2021
  2. 2/4 completion: bash: fix for suboptions with valueFelipe Contreras, Jun 6, 2021
  3. 1/4 completion: bash: fix prefix detection in branch.*Felipe Contreras, Jun 6, 2021
  4. 3/4 completion: bash: fix for multiple dash commandsFelipe Contreras, Jun 6, 2021
  5. SZEDER GáborJun 7, 2021
  6. Felipe ContrerasJun 7, 2021
  7. Junio C HamanoJun 8, 2021
  8. Felipe ContrerasJun 8, 2021
  9. 4/4 completion: bash: add correct suffix in variablesFelipe Contreras, Jun 6, 2021
  10. David AguilarJun 7, 2021
  11. Junio C HamanoJun 7, 2021
  12. 0/4 completion: bash: a bunch of fixesFelipe Contreras, Jun 8, 2021
  13. 2/4 completion: bash: fix for suboptions with valueFelipe Contreras, Jun 8, 2021
  14. 3/4 completion: bash: fix for multiple dash commandsFelipe Contreras, Jun 8, 2021
  15. 1/4 completion: bash: fix prefix detection in branch.*Felipe Contreras, Jun 8, 2021
  16. 4/4 completion: bash: add correct suffix in variablesFelipe Contreras, Jun 8, 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.