From: Robin Rosenberg <robin.rosenberg@dewire.com>
To: git@vger.kernel.org
Cc: gitster@pobox.com, Robin Rosenberg <robin.rosenberg@dewire.com>
Subject: [PATCH] bash: teach __git_ps1 about REVERT_HEAD
Date: Sun, 31 Mar 2013 01:30:48 +0100 [thread overview]
Message-ID: <1364689848-52647-1-git-send-email-robin.rosenberg@dewire.com> (raw)
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
---
contrib/completion/git-prompt.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/contrib/completion/git-prompt.sh b/contrib/completion/git-prompt.sh
index 341422a..756a951 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
--
1.8.1.337.gf3f86a8
next reply other threads:[~2013-03-31 0:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-31 0:30 Robin Rosenberg [this message]
2013-04-01 2:51 ` [PATCH] bash: teach __git_ps1 about REVERT_HEAD Junio C Hamano
2013-04-02 14:20 ` [PATCH 1/2] status: show 'revert' state and status hint Matthieu Moy
2013-04-02 14:20 ` [PATCH 2/2] status: show commit sha1 in "You are currently reverting" message Matthieu Moy
2013-04-02 20:19 ` [PATCH 1/2] status: show 'revert' state and status hint Junio C Hamano
2013-04-02 20:36 ` Matthieu Moy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1364689848-52647-1-git-send-email-robin.rosenberg@dewire.com \
--to=robin.rosenberg@dewire.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).