git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] RelNotes/1.8.5: direct script writers to "git status --porcelain"

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Sep 28, 2013, 00:08 UTC
Message-ID
<20130928000853.GQ9464@google.com>
In-Reply-To
<87y56jl3bz.fsf@gmail.com>
Keshav Kini wrote:
> Jakub Narebski <jnareb@gmail.com> writes:
>> Matthieu Moy <Matthieu.Moy@imag.fr> writes:
Show 7 quoted lines
>>>   * "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.
[...]
>                   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.'
Thanks, all.
Previous: Keshav Kini
Message 5 of 5 in “RelNotes/1.8.5: direct script writers to "git status --porcelain"”
  1. RelNotes/1.8.5: direct script writers to "git status --porcelain"Matthieu Moy, Sep 26, 2013
  2. Jakub NarebskiSep 26, 2013
  3. RelNotes/1.8.5: direct script writers to "git status --porcelain"Matthieu Moy, Sep 26, 2013
  4. Keshav KiniSep 26, 2013
  5. Jonathan NiederSep 28, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.