bash completion bug: "symbolic-ref" subcommand doesn't complete
- From
- Andrey <butirsky@gmail.com>
- Date
- Mar 12, 2026, 16:14 UTC
- Message-ID
- <c1e0c05b-c767-4fcc-859a-4da6b90c4497@gmail.com>
Bash can't complete some commands, e.g. symbolic-ref, bugreport, maybe others.
These commands are not seen in the completion output:
|$ git #press Tab add blame citool diff gitk log prune refs restore show submodule am branch clean difftool grep maintenance pull remote revert show-branch switch apply bundle clone fetch gui merge push repack rm sparse-checkout tag archive checkout commit format-patch help mergetool range-diff replace scalar stage whatchanged backfill cherry config fsck init mv rebase request-pull send-email stash worktree bisect cherry-pick describe gc instaweb notes reflog reset shortlog status |
| |
There is no such problem with Zsh.
[System Info] GNU bash, version 5.3.0(1)-release (x86_64-redhat-linux-gnu) git version 2.53.0 rust: disabled gettext: enabled libc info: glibc: 2.42