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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html