No completion for git subcommands

Bug #2003660 reported by Peter
2
Affects Status Importance Assigned to Milestone
bash-completion (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Package versions:

ii bash-completion 1:2.11-6ubuntu1
ii bash 5.2-1ubuntu2
ii git 1:2.37.2-1ubuntu1.2

While completions in Bash work for most commands I tried, they don't work work for Git sub-commands, as in:

git com<Tab> # Completes to "git commit"
git commit --am<Tab> # Does not complete to "git commit --amend"

It looks like none of git's subcommands get any command line flag/option/parameter/argument completions at all.

Peter (vp2177)
summary: - No completion for git subcommand flags
+ No completion for git subcommands
description: updated
Peter (vp2177)
Changed in bash-completion (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.