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

[PATCH v3 0/4] completion: bash: a bunch of fixes

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
Jun 8, 2021, 06:00 UTC
Message-ID
<20210608060010.1676208-1-felipe.contreras@gmail.com>
In-Reply-To
<20210606184726.1018460-1-felipe.contreras@gmail.com>
These should be pretty obvious and straightforward.

Since v2 only a commit message was updated to say "options of commands" insead of "commands".

Felipe Contreras (4):
  completion: bash: fix prefix detection in branch.*
  completion: bash: fix for suboptions with value
  completion: bash: fix for multiple dash commands
  completion: bash: add correct suffix in variables
 contrib/completion/git-completion.bash | 14 +++++++-------
 t/t9902-completion.sh                  | 15 +++++++++++++++
 2 files changed, 22 insertions(+), 7 deletions(-)
Range-diff:
1:  52de92cb06 ! 1:  4b73b26338 completion: bash: fix prefix detection in branch.*
    @@ Commit message
           git clone --config=branch.<tab>
     
         Reviewed-by: SZEDER Gábor <szeder.dev@gmail.com>
    +    Tested-by: David Aguilar <davvid@gmail.com>
         Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
     
      ## contrib/completion/git-completion.bash ##
2:  af2f17364d ! 2:  cb2fc1a7f2 completion: bash: fix for suboptions with value
    @@ Commit message
     
           git merge -X diff-algorithm=<tab>
     
    +    Tested-by: David Aguilar <davvid@gmail.com>
         Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
     
      ## contrib/completion/git-completion.bash ##
3:  a3bcb70594 ! 3:  ece06463a2 completion: bash: fix for multiple dash commands
    @@ Metadata
      ## Commit message ##
         completion: bash: fix for multiple dash commands
     
    -    Otherwise commands like 'for-each-ref' are not completed.
    +    Otherwise options of commands like 'for-each-ref' are not completed.
     
    +    Tested-by: David Aguilar <davvid@gmail.com>
         Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
     
      ## contrib/completion/git-completion.bash ##
4:  6b3ef41c92 ! 4:  f9db132cbd completion: bash: add correct suffix in variables
    @@ Commit message
         but that can be done later.
     
         Cc: SZEDER Gábor <szeder.dev@gmail.com>
    +    Tested-by: David Aguilar <davvid@gmail.com>
         Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
     
      ## contrib/completion/git-completion.bash ##
-- 
2.32.0.2.g41be0a4e50
Previous: Junio C HamanoNext: Felipe Contreras
Message 12 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.