diff options
author | Jeff Hostetler <jeffhost@microsoft.com> | 2016-08-11 10:45:59 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-08-11 11:15:40 -0700 |
commit | d9fc746cd77910a7dec53abfec36df5c699b33c2 (patch) | |
tree | 03b5603ad466ee45e75e026c3869fa537282bea6 /wt-status.h | |
parent | 24959bad5dba353497323f10b3bf39f243c0f174 (diff) | |
download | git-d9fc746cd77910a7dec53abfec36df5c699b33c2.tar.gz |
status: print branch info with --porcelain=v2 --branch
Expand porcelain v2 output to include branch and tracking
branch information. This includes the commit id, the branch,
the upstream branch, and the ahead and behind counts.
Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'wt-status.h')
-rw-r--r-- | wt-status.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wt-status.h b/wt-status.h index 43fd3fccf6..e401837707 100644 --- a/wt-status.h +++ b/wt-status.h @@ -80,6 +80,7 @@ struct wt_status { int hints; enum wt_status_format status_format; + unsigned char sha1_commit[GIT_SHA1_RAWSZ]; /* when not Initial */ /* These are computed during processing of the individual sections */ int commitable; |