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

[PATCH v3 0/8] status: V2 porcelain status

From
JHJeff Hostetler <git@jeffhostetler.com>
Date
Jul 26, 2016, 21:11 UTC
Message-ID
<1469567483-58794-1-git-send-email-git@jeffhostetler.com>

This patch series adds porcelain V2 format to status. This provides detailed information about file changes and about the current branch.

The new output is accessed via:
    git status --porcelain=v2 [--branch]

Relative to the v2 patch series, in this v3 patch series I have changed the format of the lines for ordinary changes to make it easier to distinguish renames and copies from normal entries. I also split the --branch header information onto separate lines, since we're not bound by any requirement to have a single ## header line. I document the argument as --porcelain=v2, but silently also allow --porcelain=2.

Jeff Hostetler (8):
  status: rename long-format print routines
  status: cleanup API to wt_status_print
  status: support --porcelain[=<version>]
  status: per-file data collection for --porcelain=v2
  status: print per-file porcelain v2 status data
  status: print branch info with --porcelain=v2 --branch
  status: update git-status.txt for --porcelain=v2
  status: tests for --porcelain=v2
 Documentation/git-status.txt | 100 +++++++-
 builtin/commit.c             |  78 +++---
 t/t7060-wtstatus.sh          |  21 ++
 t/t7064-wtstatus-pv2.sh      | 585 +++++++++++++++++++++++++++++++++++++++++++
 wt-status.c                  | 567 ++++++++++++++++++++++++++++++++++++-----
 wt-status.h                  |  19 +-
 6 files changed, 1260 insertions(+), 110 deletions(-)
 create mode 100755 t/t7064-wtstatus-pv2.sh
-- 
2.8.0.rc4.17.gac42084.dirty
Next: Jeff Hostetler
Message 1 of 13 in “status: V2 porcelain status”
  1. 0/8 status: V2 porcelain statusJeff Hostetler, Jul 26, 2016
  2. 2/8 status: cleanup API to wt_status_printJeff Hostetler, Jul 26, 2016
  3. 3/8 status: support --porcelain[=<version>]Jeff Hostetler, Jul 26, 2016
  4. 4/8 status: per-file data collection for --porcelain=v2Jeff Hostetler, Jul 26, 2016
  5. 5/8 status: print per-file porcelain v2 status dataJeff Hostetler, Jul 26, 2016
  6. 7/8 status: update git-status.txt for --porcelain=v2Jeff Hostetler, Jul 26, 2016
  7. Jakub NarębskiJul 30, 2016
  8. Jeff HostetlerAug 1, 2016
  9. Jakub NarębskiAug 2, 2016
  10. Jeff HostetlerAug 2, 2016
  11. 6/8 status: print branch info with --porcelain=v2 --branchJeff Hostetler, Jul 26, 2016
  12. 8/8 status: tests for --porcelain=v2Jeff Hostetler, Jul 26, 2016
  13. 1/8 status: rename long-format print routinesJeff Hostetler, Jul 26, 2016

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.