Re: [PATCH v2 6/8] status: print branch info with --porcelain=v2 --branch

2016-07-25 Thread Junio C Hamano
Jeff Hostetler writes: > /* > + * Print branch and tracking header for porcelain v2 output. > + * This is printed when the '--branch' parameter is given. > + * > + *"## branch: [ [ + -]]" Just FYI, the only reason why the original "short" output gives this information on a single line with

[PATCH v2 6/8] status: print branch info with --porcelain=v2 --branch

2016-07-25 Thread Jeff Hostetler
Expand porcelain v2 output to include branch and tracking branch information. This includes the commit SHA, the branch, the upstream branch, and the ahead and behind counts. Signed-off-by: Jeff Hostetler --- builtin/commit.c | 5 wt-status.c | 86 +