[Bug 1088960] Re: Missing __git_ps1

2012-12-11 Thread Julian Taylor
__git_ps1 has been moved to git-prompt.sh in newer versions but neither of the files is shipped by ubuntus package, which is confirmed by your use of usr/local ** Changed in: git (Ubuntu) Status: New = Invalid -- You received this bug notification because you are a member of Ubuntu

[Bug 1088960] Re: Missing __git_ps1

2012-12-11 Thread Reuben Firmin
Wait, why is this invalid? It used to be shipped with Ubuntu's version and is no longer. Surely there should be a transition package if you're going to remove functionality. ** Changed in: git (Ubuntu) Status: Invalid = New -- You received this bug notification because you are a member

[Bug 1088960] Re: Missing __git_ps1

2012-12-11 Thread Anders Kaseorg
No Ubuntu package has ever shipped files in /usr/local. Either you installed your own copy of Git manually in /usr/local, in which case you get to keep both pieces, or you were actually getting __git_ps1 from somewhere else. In Ubuntu, you get __git_ps1 via these lines in the default ~/.bashrc:

[Bug 1088960] Re: Missing __git_ps1

2012-12-11 Thread Reuben Firmin
Ah, well I mistook the source of my __git_ps1, my bad. My /etc/bash.bashrc does contain the bash_completion hook, and bash_completion is working. However unless I explicitly source /etc/bash_completion.d/git-prompt in my bashrc, I get the error about __git_ps1 not being found. I have git version

[Bug 1088960] Re: Missing __git_ps1

2012-12-11 Thread Anders Kaseorg
Ubuntu does not support PPA versions, so this is not a bug in Ubuntu. That said, as the maintainer of ppa:git-core/ppa, I’m interested in what went wrong. It should be the case that bash_completion automatically sources everything in the /etc/bash_completion.d directory, including

[Bug 1088960] Re: Missing __git_ps1

2012-12-11 Thread Reuben Firmin
Actually I was using the stock git prior to trying your ppa. When ubuntu-bug didn't let me file a bug against git, I decided to try your ppa. Wit a second, though. In /etc/bash.bashrc, now that I look at it with a skeptical eye, I see: # enable bash completion in interactive shells #if !

[Bug 1088960] Re: Missing __git_ps1

2012-12-11 Thread Anders Kaseorg
bash_completion is an extensible mechanism to augment bash’s builtin completion of filenames with context-sensitive completion of many other things, such as git subcommands. anders@fixed-disk:~$ git rTAB rebase relink replace-author rm rebase-multi remote

[Bug 1088960] Re: Missing __git_ps1

2012-12-11 Thread Reuben Firmin
Gotcha. For sake of completion here, I migrated my home partition from a Mint install - which evidently does not use /etc/skel/.bashrc as the template for new .bashrcs. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.