Re: Bug with automated processing of git status results
- From
- Konstantin Khomoutov <kostix+git@007spb.ru>
- Date
- Jun 30, 2017, 07:12 UTC
- Message-ID
- <20170630071219.m757vvyccrp3afli@tigra>
- In-Reply-To
- <CAM1TZMGXiDpzt3uhpDaE41KR8GWyjMq=+Mcvz5Zrj0EffNrGrw@mail.gmail.com>
On Fri, Jun 30, 2017 at 09:00:14AM +0300, Сергей Шестаков wrote:
Show 14 quoted lines
> I am trying to make an automated processing of "git status" results. > I execute the command > > git status -z -uno > > I expect that it has stable output format. However, it still can print > warnings like > > warning: CRLF will be replaced by LF in somefile.xml > > I understand that we can turn off core.safecrlf, but it's > inconvinient. It would be better if "git status" command had an > optional parameter that disables any other output besides changed > files.
The `git status` command supposedly writes their "regular" data to its standard output while warnings go to its standard error stream. Is this not the case?