Git with bash completion fix available for Ubuntu 10.04

A few days ago version of git was released and available now in my repository for Ubuntu 10.04. To use my repository follow the instructions on the page Git Packages for Ubuntu.
It took a little bit longer to release as I was writing a patch fixing bash completion. The patch is integrated in my package of git for Ubuntu 10.04.

A little more detailed explanation of the bash completion patch.

If you use bash as your shell, you can press to get hints for completing the command.
For example if you type:

git log --pretty=

it resulted in a list of files from the current directory.

With the patch in this package of git it results in

email     full      medium    raw       
format:   fuller    oneline   short     

just as you would expect.

It turned out that the completion script was broken with Bash 4, it didn’t just effect the above example but a whole array of other git commands as well.

This article is filed under the categories Ubuntu » Software » git and has the following tags associated with it: , .
  • I have Git compiled from source (which wasn’t easy to do…). I can confirm that it has this bug. But I use Kubuntu 10.10 (Maverick). Do you have any plans to release packages for 10.10?

    • I just upgraded to Ubuntu 10.10 myself, just after releasing the version. Except a version for Ubuntu 10.10 within two to three days