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

pathspec completion missing in Bash completion

From
Björn Kautler <bjoern@kautler.net>
Date
Apr 14, 2023, 12:02 UTC
Message-ID
<CAKChYSr-ry2ewX7YkC9k9H8LrkHoSonx5Mcmz+n5OyxinH6t1g@mail.gmail.com>
Hi,

if you use bash completion, pathspecs are not completed with existing paths with 2.40.0. So if you for example do `git add -- :^<TAB><TAB>` or `git add -- :^a<TAB><TAB>` you do not get any suggestions, though it would make sense to complete the paths there.

Regards Björn

Message 1 of 1 in “pathspec completion missing in Bash completion”
  1. Björn KautlerApr 14, 2023

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.