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

2016-08-05 Thread Jeff Hostetler
On 08/05/2016 01:01 PM, Junio C Hamano wrote: Jeff Hostetler writes: /* + * Print branch information for porcelain v2 output. These lines + * are printed when the '--branch' parameter is given. + * + *# branch.oid + *# branch.head Just bikeshedding,

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

2016-08-05 Thread Junio C Hamano
Jeff Hostetler writes: > /* > + * Print branch information for porcelain v2 output. These lines > + * are printed when the '--branch' parameter is given. > + * > + *# branch.oid > + *# branch.head Just bikeshedding, but ... > + if (!s->branch) > +

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

2016-08-02 Thread Jeff Hostetler
From: 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 Signed-off-by: Jeff