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

[PATCH v8 0/9] status: V2 porcelain status

From
JHJeff Hostetler <git@jeffhostetler.com>
Date
Aug 12, 2016, 15:44 UTC
Message-ID
<1471016692-35828-1-git-send-email-git@jeffhostetler.com>
From: Jeff Hostetler <jeffhost@microsoft.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]

This v8 patch series addresses the remaining feedback about the unit tests from the v6 and v7 series.

This series has been rebased onto 787fadc reference point.
Jeff Hostetler (9):
  status: rename long-format print routines
  status: cleanup API to wt_status_print
  status: support --porcelain[=<version>]
  status: collect per-file data for --porcelain=v2
  status: print per-file porcelain v2 status data
  status: print branch info with --porcelain=v2 --branch
  git-status.txt: describe --porcelain=v2 format
  test-lib-functions.sh: Add lf_to_nul
  status: unit tests for --porcelain=v2
 Documentation/git-status.txt | 133 +++++++++-
 builtin/commit.c             |  78 +++---
 t/t7060-wtstatus.sh          |  21 ++
 t/t7064-wtstatus-pv2.sh      | 593 +++++++++++++++++++++++++++++++++++++++++++
 t/test-lib-functions.sh      |   4 +
 wt-status.c                  | 570 ++++++++++++++++++++++++++++++++++++-----
 wt-status.h                  |  19 +-
 7 files changed, 1306 insertions(+), 112 deletions(-)
 create mode 100755 t/t7064-wtstatus-pv2.sh
-- 
2.8.0.rc4.17.gac42084.dirty
Next: Jeff Hostetler
Message 1 of 11 in “status: V2 porcelain status”
  1. 0/9 status: V2 porcelain statusJeff Hostetler, Aug 12, 2016
  2. 4/9 status: collect per-file data for --porcelain=v2Jeff Hostetler, Aug 12, 2016
  3. 1/9 status: rename long-format print routinesJeff Hostetler, Aug 12, 2016
  4. 9/9 status: unit tests for --porcelain=v2Jeff Hostetler, Aug 12, 2016
  5. 2/9 status: cleanup API to wt_status_printJeff Hostetler, Aug 12, 2016
  6. 7/9 git-status.txt: describe --porcelain=v2 formatJeff Hostetler, Aug 12, 2016
  7. 3/9 status: support --porcelain[=<version>]Jeff Hostetler, Aug 12, 2016
  8. 8/9 test-lib-functions.sh: Add lf_to_nulJeff Hostetler, Aug 12, 2016
  9. 5/9 status: print per-file porcelain v2 status dataJeff Hostetler, Aug 12, 2016
  10. 6/9 status: print branch info with --porcelain=v2 --branchJeff Hostetler, Aug 12, 2016
  11. Junio C HamanoAug 12, 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.