git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] bash: teach __git_ps1 about REVERT_HEAD
@ 2013-03-31  0:30 Robin Rosenberg
  2013-04-01  2:51 ` Junio C Hamano
  2013-04-02 14:20 ` [PATCH 1/2] status: show 'revert' state and status hint Matthieu Moy
  0 siblings, 2 replies; 6+ messages in thread
From: Robin Rosenberg @ 2013-03-31  0:30 UTC (permalink / raw)
  To: git; +Cc: gitster, Robin Rosenberg

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

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-04-02 20:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-31  0:30 [PATCH] bash: teach __git_ps1 about REVERT_HEAD Robin Rosenberg
2013-04-01  2:51 ` 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

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).