diff options
author | Robin Rosenberg <robin.rosenberg@dewire.com> | 2013-03-31 01:30:48 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-03-31 19:07:26 -0700 |
commit | 3ee4452837a1f99088517b25938d5c85aac4a583 (patch) | |
tree | 4e3f80c4c5aef305b45f1db79c9b52c1700e9900 /contrib/completion/git-prompt.sh | |
parent | 5e950c2199448d44388f7ca25c837fe7650da93c (diff) | |
download | git-3ee4452837a1f99088517b25938d5c85aac4a583.tar.gz |
bash: teach __git_ps1 about REVERT_HEAD
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/completion/git-prompt.sh')
-rw-r--r-- | contrib/completion/git-prompt.sh | 2 |
1 files changed, 2 insertions, 0 deletions
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 |