Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 432416

Summary: >=dev-vcs/git-1.7.12 should install new contrib/completion/git-prompt.sh script
Product: Gentoo Linux Reporter: Julien Sanchez <julien.sanchez>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Julien Sanchez archtester 2012-08-23 13:09:09 UTC
As of git 1.7.12, __git_ps1() function is no more included in bash completion:
https://github.com/gitster/git/commit/af31a456b4cd38f2630ed8e556e23954f806a3cc
https://raw.github.com/gitster/git/master/Documentation/RelNotes/1.7.12.txt

__git_ps1() is useful to customize PS1 bash prompt.

It has been moved to contrib/completion/git-prompt.sh which must be sourced from bashrc to have __git_ps1 available again.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2012-08-23 16:56:53 UTC

*** This bug has been marked as a duplicate of bug 432328 ***