aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-04-22 11:26:54 -0700
committerJunio C Hamano <gitster@pobox.com>2013-04-22 11:26:54 -0700
commitad62fd0c2c00aa0cf991d6060cbb13bdd7727319 (patch)
treebb20c623a5070adfee086fa584d7290d2c23a07a
parent845241d5446c6c4be70fcaa9f7b605e7c6760181 (diff)
parent3ee4452837a1f99088517b25938d5c85aac4a583 (diff)
downloadgit-ad62fd0c2c00aa0cf991d6060cbb13bdd7727319.tar.gz
git-ad62fd0c2c00aa0cf991d6060cbb13bdd7727319.tar.xz
Merge branch 'rr/prompt-revert-head' into maint
* rr/prompt-revert-head: bash: teach __git_ps1 about REVERT_HEAD
-rw-r--r--contrib/completion/git-prompt.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/completion/git-prompt.sh b/contrib/completion/git-prompt.sh
index 341422a76..756a95145 100644
--- 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