From: Junio C Hamano Date: Mon, 01 Apr 2013 02:51:40 GMT Subject: Re: [PATCH] bash: teach __git_ps1 about REVERT_HEAD Message-ID: <7vk3onm08z.fsf@alter.siamese.dyndns.org> In-Reply-To: <1364689848-52647-1-git-send-email-robin.rosenberg@dewire.com> Robin Rosenberg writes: > Signed-off-by: Robin Rosenberg > --- > contrib/completion/git-prompt.sh | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/contrib/completion/git-prompt.sh b/contrib/completion/git-prompt.sh > index 341422a..756a951 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" Obviously a good thing to do; thanks. > elif [ -f "$g/BISECT_LOG" ]; then > r="|BISECTING" > fi