Nazri Ramliy wrote:
> On Tue, Oct 10, 2017 at 8:16 AM, Jonathan Nieder <[email protected]> wrote:
>> Nazri Ramliy wrote:
>>> I used to work before, but now:
>>>
>>> $ git version
>>> git version 2.15.0.rc0.39.g2f0e14e649
>>>
>>> $ git status --color=always
>>> error: unknown option `color=always'
>>> usage: git status [<options>] [--] <pathspec>...
>>
>> Which version did it work in? That would allow me to bisect.
>
> Sorry. It's my bad. I must have confused this with `git grep`'s --color
> option.
No problem. It sounds like a reasonable feature request to me,
especially now that we are about to drop support for
color.status=always in configuration:
commit 6be4595edb8e5b616c6e8b9fbc78b0f831fa2a87
Author: Jeff King <[email protected]>
Date: Tue Oct 3 09:46:06 2017 -0400
color: make "always" the same as "auto" in config
Would you like to take a stab at adding it? builtin/commit.c and
Documentation/git-{commit,status}.txt would be my best guesses at
where to start.
Thanks,
Jonathan