Re: [PATCH v2] git-prompt: preserve value of $? inside shell prompt
- From
Tony Finch <dot@dotat.at>
- Date
- Dec 22, 2014, 22:18 UTC
- Message-ID
- <alpine.LSU.2.00.1412222216120.26823@hermes-1.csi.cam.ac.uk>
- In-Reply-To
- <xmqqsig78nim.fsf@gitster.dls.corp.google.com>
Junio C Hamano <gitster@pobox.com> wrote:
> > Yes. I wouldn't have spent 20 minutes experimenting with various > hypothetical use cases if the above were there in the first place.
Sorry for wasting your time, and thanks for reviewing the patch.
(I am so used to having $? in my prompt it took me ages to find and explain the problem too... Sigh!)
Tony.
-- f.anthony.n.finch <dot@dotat.at> http://dotat.at/ Trafalgar: Easterly 6 to gale 8 far southeast, otherwise northeasterly veering southeasterly 4 or 5. Slight or moderate, occasionally rough at first in south. Occasional drizzle. Good, occasionally moderate.