small tip regarding git branch bash prompt in F18/Rawhide

Ville Skyttä ville.skytta at iki.fi
Thu Aug 23 12:06:28 UTC 2012


On 2012-08-23 04:34, Todd Zullinger wrote:
> Adam Williamson wrote:
>
>> source /usr/share/doc/git-1.7.12/contrib/completion/git-prompt.sh
>>
>> because upstream split the prompt stuff out from the bash_completion 
>> script. Perhaps the git packagers could consider providing 
>> git-prompt.sh in a more permanent location, so we don't have to poke 
>> .bashrc every time the git version changes? Thanks!
> 
> This is definitely planned.  I mailed Adam (the other Adam) today to 
> point out that this was broken by the 1.7.12 update.  I don't have 
> time to work on a fix though.  But certainly, git-prompt.sh should be 
> placed in a more permanent location in the next build.

Somewhat unrelated, but I think it'd be better to stop using versioned
%doc dirs altogether, just stick with /usr/share/doc/%name and let
packages for which it's usual to have multiple versions installed handle
doc dir conflicts just as they handle other possibly conflicting files...



More information about the devel mailing list