mirror of
https://github.com/git-for-windows/git.git
synced 2026-03-01 12:24:54 -06:00
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 $? in all cases