On Wed, 2012-11-07 at 16:36 -0800, Adam Williamson wrote:
On Thu, 2012-11-08 at 11:23 +1100, Ankur Sinha wrote:
> Hi folks,
>
> After f18 updates today and last night, my git_ps1 variable sort of
> disappeared. I had to copy
> the /usr/share/git-core/contrib/completions/git-prompt.sh to my user
> directory and source it in my .bashrc. However, I'm pretty sure I didn't
> have to do this before (I've been using the same git prompt for quite a
> while now). Would any one know what changed please? The other __git_*
> commands appeared to be available, but the __git_ps1 etc weren't in the
> list.
>
> This system is a yum upgrade from fedora 17. The git prompt was working
> before the recent updates.
It moved to a different file. You want to
source /etc/profile.d/git-prompt.sh now.
Sigh - they just moved it *again*. It's
in /usr/share/git-core/contrib/completion now. I hope that's the last
time they screw with it.
https://bugzilla.redhat.com/show_bug.cgi?id=854061
--
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora
http://www.happyassassin.net