Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
bash: teach __git_ps1 about REVERT_HEAD
author
Robin Rosenberg
<robin.rosenberg@dewire.com>
Sun, 31 Mar 2013 00:30:48 +0000
(
01:30
+0100)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 1 Apr 2013 02:07:26 +0000
(19:07 -0700)
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-prompt.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
5e950c2
)
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