Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'rr/prompt-revert-head' into maint
author
Junio C Hamano
<gitster@pobox.com>
Mon, 22 Apr 2013 18:26:54 +0000
(11:26 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 22 Apr 2013 18:26:54 +0000
(11:26 -0700)
* rr/prompt-revert-head:
bash: teach __git_ps1 about REVERT_HEAD
contrib/completion/git-prompt.sh
patch
|
blob
|
history
raw
(from parent 1:
845241d
)
diff --git
a/contrib/completion/git-prompt.sh
b/contrib/completion/git-prompt.sh
index 341422a766efe70580817d98a574d95bd9ddebf9..756a9514591c7664c82c93d3a6d50d91f46857d8 100644
(file)
--- a/
contrib/completion/git-prompt.sh
+++ b/
contrib/completion/git-prompt.sh
@@
-282,6
+282,8
@@
__git_ps1 ()
r="|MERGING"
elif [ -f "$g/CHERRY_PICK_HEAD" ]; then
r="|CHERRY-PICKING"
+ elif [ -f "$g/REVERT_HEAD" ]; then
+ r="|REVERTING"
elif [ -f "$g/BISECT_LOG" ]; then
r="|BISECTING"
fi