From: Nazri Ramliy Date: Tue, 10 Oct 2017 00:43:40 GMT Subject: Re: What happened to "git status --color=(always|auto|never)"? Message-ID: In-Reply-To: <20171010001619.GL19555@aiede.mtv.corp.google.com> On Tue, Oct 10, 2017 at 8:16 AM, Jonathan Nieder wrote: > Hi, > > 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 [] [--] ... > > 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. I have a perl script that shells out to `git -c color.status=always status`, and I wrongly documented that the perl script's `--color=(always|never|auto)` is "similar to git-status' option". I verified this down to git-2.1.0, git-1.7.0 and git-1.4.0 confirmed that `git status` do not support --color option then, and mostly likely not in the versions between. nazri