From: Simon Oosthoek Date: Wed, 12 Dec 2012 20:25:59 GMT Subject: Re: git-prompt.sh vs leading white space in __git_ps1()::printf_format 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: > Simon Oosthoek 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