From: Junio C Hamano Date: Wed, 7 Jan 2015 21:09:35 +0000 (-0800) Subject: Merge branch 'tf/prompt-preserve-exit-status' X-Git-Tag: v2.3.0-rc0~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=487b17de3ea1842b91a739cf31a08130faa03856;p=git Merge branch 'tf/prompt-preserve-exit-status' Using the exit status of the last command in the prompt, e.g. PS1='$(__git_ps1) $? ', did not work well because the helper function stomped on the exit status. * tf/prompt-preserve-exit-status: git-prompt: preserve value of $? inside shell prompt --- 487b17de3ea1842b91a739cf31a08130faa03856