From 3ee4452837a1f99088517b25938d5c85aac4a583 Mon Sep 17 00:00:00 2001 From: Robin Rosenberg Date: Sun, 31 Mar 2013 01:30:48 +0100 Subject: bash: teach __git_ps1 about REVERT_HEAD Signed-off-by: Robin Rosenberg Signed-off-by: Junio C Hamano --- contrib/completion/git-prompt.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'contrib/completion') diff --git a/contrib/completion/git-prompt.sh b/contrib/completion/git-prompt.sh index 341422a766..756a951459 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 -- cgit v1.2.3