Re: git-prompt.sh vs leading white space in __git_ps1()::printf_format
- From
Simon Oosthoek <s.oosthoek@xs4all.nl>
- Date
- Dec 12, 2012, 20:25 UTC
- Message-ID
- <50C8E857.5080000@xs4all.nl>
- In-Reply-To
- <7vlid35fe4.fsf@alter.siamese.dyndns.org>
On 12/12/12 18:50, Junio C Hamano wrote:
Show 8 quoted lines
> Simon Oosthoek <s.oosthoek@xs4all.nl> writes: > >> This removes most of the ambiguities :-) >> Ack from me! > > OK, as this is a low-impact finishing touch for a new feature, I'll > fast-track this to 'master' before the final release. >
Ok, wonderful! BTW, I tried the thing I mentioned and it was safe to do: PS1='blabla$(__git_ps1 x y)blabla' will not eat your prompt, although I'd recommend putting something useful instead of blabla ;-)
Cheers
Simon