Re: [PATCH] RelNotes/1.8.5: direct script writers to "git status --porcelain"
- From
Keshav Kini <keshav.kini@gmail.com>
- Date
- Sep 26, 2013, 20:45 UTC
- Message-ID
- <87y56jl3bz.fsf@gmail.com>
- In-Reply-To
- <loom.20130926T201754-563@post.gmane.org>
Jakub Narebski <jnareb@gmail.com> writes:
Show 11 quoted lines
> Matthieu Moy <Matthieu.Moy <at> imag.fr> writes: >> * "git status" now omits the prefix to make its output a comment in a >> commit log editor, which is not necessary for human consumption. >> + Scripts that parse the output of "git status" are advised to use >> + "git status --porcelain", which is both easier to parse and stable, >> + instead. > > Good addition. > > Perhaps "to use instead ..." would be easier to understand than > proposed "to use ..., instead." (with "..." being one line long).
FWIW, I find "to use instead ___" slightly stilted. I'd suggest "to instead use", but rewording it to the following is much better, IMHO: '... are advised to use "git status --porcelain" instead, as it is both stable and easier to parse.'
-Keshav