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=2 [--branch]
An earlier draft of this work was submitted under the
"Add very verbose porcelain output to status" title.
This new version addresses the concerns about using
(abusing) "-vv" and simplifies the some of the formatting.
This version does not include the state header from my
first draft. I agree that if guarded by a "--state"
argument, that output could be added to both formats.
Jeff Hostetler (6):
Allow --porcelain[=<n>] in status and commit commands
Status and checkout unit tests for --porcelain[=<n>]
Per-file output for Porcelain Status V2
Expanded branch header for Porcelain Status V2
Add porcelain V2 documentation to status manpage
Unit tests for V2 porcelain status
Documentation/git-commit.txt | 2 +-
Documentation/git-status.txt | 69 +++++-
builtin/commit.c | 54 +++--
t/t7060-wtstatus.sh | 21 ++
t/t7064-wtstatus-pv2.sh | 461 ++++++++++++++++++++++++++++++++++++++++
t/t7501-commit.sh | 23 ++
wt-status.c | 487 ++++++++++++++++++++++++++++++++++++++++++-
wt-status.h | 25 +++
8 files changed, 1122 insertions(+), 20 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