[Bug 2003660] [NEW] No completion for git subcommands

Peter 2003660 at bugs.launchpad.net
Sun Jan 22 22:04:55 UTC 2023


Public bug reported:

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.

** Affects: bash-completion (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

- No completion for git subcommand flags
+ No completion for git subcommands

** Description changed:

  Package versions:
  
- ii  bash-completion 1:2.11-6ubuntu1           
- ii  bash            5.2-1ubuntu2         
- ii  git             1:2.37.2-1ubuntu1.2 
+ 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.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash-completion in Ubuntu.
https://bugs.launchpad.net/bugs/2003660

Title:
  No completion for git subcommands

Status in bash-completion package in Ubuntu:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/2003660/+subscriptions




More information about the foundations-bugs mailing list