Re: [PATCH] Improve bash prompt to detect various states like an unfinished merge
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 1, 2007, 08:15 UTC
- Message-ID
- <7vabr3tfmq.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <1191111645134-git-send-email-robin.rosenberg@dewire.com>
Robin Rosenberg <robin.rosenberg@dewire.com> writes:
> This patch makes the git prompt (when enabled) show if a merge or a > rebase is unfinished. It also detects if a bisect is being done as > well as detached checkouts.
Since you show the name of the branch anyway, I have to wonder why you should say BISECT.
Also if you know you normally get branch name, lack of branch name would indicate detached HEAD, I would presume.
But other state information may be helpful.