git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
7938918
eb443e3
)
Merge branch 'tf/prompt-preserve-exit-status'
author
Junio C Hamano
<redacted>
Wed, 7 Jan 2015 21:09:35 +0000
(13:09 -0800)
committer
Junio C Hamano
<redacted>
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
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
contrib/completion/git-prompt.sh
Simple merge
git clone https://git.99rst.org/PROJECT