Re: bash completion bug: "symbolic-ref" subcommand doesn't complete
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 ;-).