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

From: Andrey <[email-masked]>
Date: Thu, 12 Mar 2026 19:26:57 +0300

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:
> Andrey <[email-masked]> 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 ;-).