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

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

From
Matthieu Moy <matthieu.moy@imag.fr>
Date
Sep 26, 2013, 13:23 UTC
Message-ID
<1380201815-14140-1-git-send-email-Matthieu.Moy@imag.fr>
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
---

Not terribly important, but the old item alone may sound like "we broke your script purposely, good luck with the new version" to a script writer.

 Documentation/RelNotes/1.8.5.txt | 3 +++
 1 file changed, 3 insertions(+)
diff --git a/Documentation/RelNotes/1.8.5.txt b/Documentation/RelNotes/1.8.5.txt
index ac5c3fa..f100a0f 100644
--- a/Documentation/RelNotes/1.8.5.txt
+++ b/Documentation/RelNotes/1.8.5.txt
@@ -96,6 +96,9 @@ UI, Workflows & Features
 
  * "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.
 
  * Make "foo^{tag}" to peel a tag to itself, i.e. no-op., and fail if
    "foo" is not a tag.  "git rev-parse --verify v1.0^{tag}" would be
-- 
1.8.4.474.g128a96c
Next: Jakub Narebski
Message 1 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.