Skip to content

Commit 3ee4452

Browse files
robinrosenberggitster
authored andcommitted
bash: teach __git_ps1 about REVERT_HEAD
Signed-off-by: Robin Rosenberg <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 5e950c2 commit 3ee4452

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

contrib/completion/git-prompt.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,8 @@ __git_ps1 ()
282282
r="|MERGING"
283283
elif [ -f "$g/CHERRY_PICK_HEAD" ]; then
284284
r="|CHERRY-PICKING"
285+
elif [ -f "$g/REVERT_HEAD" ]; then
286+
r="|REVERTING"
285287
elif [ -f "$g/BISECT_LOG" ]; then
286288
r="|BISECTING"
287289
fi

0 commit comments

Comments
 (0)