Skip to content

Commit

Permalink
bash: teach __git_ps1 about REVERT_HEAD
Browse files Browse the repository at this point in the history
Signed-off-by: Robin Rosenberg <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
  • Loading branch information
robinrosenberg authored and gitster committed Apr 1, 2013
1 parent 5e950c2 commit 3ee4452
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contrib/completion/git-prompt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3ee4452

Please sign in to comment.