Merge branch 'tf/prompt-preserve-exit-status'
authorJunio C Hamano <gitster@pobox.com>
Wed, 7 Jan 2015 21:09:35 +0000 (13:09 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 7 Jan 2015 21:09:35 +0000 (13:09 -0800)
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

1  2 
contrib/completion/git-prompt.sh
Simple merge