Re: [PATCH] git status: display current branch name in color
- From
Michael Wookey <michaelwookey@gmail.com>
- Date
- Jan 17, 2010, 04:31 UTC
- Message-ID
- <d2e97e801001162031n1dab2301k5a839846b3cc5d9d@mail.gmail.com>
- In-Reply-To
- <d2e97e801001141823i7519864dy264488d36fca465c@mail.gmail.com>
Show 9 quoted lines
> There is an existing highlight when the user is not on any branch. > Enhance this functionality to always provide the name of the current > branch in color. > > Signed-off-by: Michael Wookey <michaelwookey@gmail.com> > --- > wt-status.c | 10 ++++++---- > wt-status.h | 3 ++- > 2 files changed, 8 insertions(+), 5 deletions(-)
Any thoughts on this?
I have found this to be a useful feature; especially when using msysGit in a Windows CMD shell. Specifically because a CMD shell provides no ability for any sort of "git-completion.bash" prompt. By highlighting the current branch name, the colouring has helped to quickly identify what the current branch is.