Permalink
Browse files

zsh: add revert info to git prompt

  • Loading branch information...
1 parent 5df14a6 commit 73c4ad3a4e302ccaf9c4368b6cf8c5177d0f4bc0 @majutsushi committed Apr 1, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 zsh/zsh/zshrc.d/84_vcsprompt
@@ -121,6 +121,8 @@ __prompt_git_geninfo() {
rebase="merging"
elif [ -f "$gitdir/CHERRY_PICK_HEAD" ]; then
rebase="cherry-picking"
+ elif [ -f "$gitdir/REVERT_HEAD" ]; then
+ rebase="reverting"
elif [ -f "$gitdir/BISECT_LOG" ]; then
rebase="bisecting"
fi

0 comments on commit 73c4ad3

Please sign in to comment.