git/list[1] front-page[2] threads[3] people[4] search[5] about
wed 2026-10-07 17:20 UTC

Re: bash completion bug: "symbolic-ref" subcommand doesn't complete

From
AAndrey <butirsky@gmail.com>
Date
Mar 12, 2026, 16:26 UTC
Message-ID
<edc6cbe7-905c-4eb7-9829-5c41f2a8beb0@gmail.com>
In-Reply-To
<xmqqikb1ggri.fsf@gitster.g>
 From what I can see, the file supplying the completion is common for 
bash/zsh, but still, the behavior is different:
|$ head /usr/share/bash-completion/completions/git
# bash/zsh completion support for core Git.
...|
|
|
On 3/12/26 19:21, Junio C Hamano wrote:
Show 16 quoted lines
> Andrey <butirsky@gmail.com> writes:
>
>> Bash can't complete some commands, e.g. symbolic-ref, bugreport, maybe
>> others.
> Isn't this working as intended?
>
> Our general principle is that the plumbing commands are not designed
> to be "typed" by end-user to use interactively, and cat-file,
> commit-tree, etc. are not completed to reduce cluttering when the
> user does
>
> 	$ git <TAB>
>
> If zsh completion includes plumbing commands, then zsh completion is
> buggy, or those who designed zsh completion did not understand the
> general principle ;-).
Previous: Junio C HamanoNext: Andrey
Message 3 of 4 in “bash completion bug: "symbolic-ref" subcommand doesn't complete”
  1. AndreyMar 12, 2026
  2. Junio C HamanoMar 12, 2026
  3. AndreyMar 12, 2026
  4. AndreyMar 12, 2026

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.