[PATCH v2] branch: colour upstream branches

2013-04-14 Thread Felipe Contreras
Otherwise when using 'git branch -vv' it's hard to see them among so much output. Signed-off-by: Felipe Contreras felipe.contre...@gmail.com --- Documentation/config.txt | 3 ++- builtin/branch.c | 35 +++ 2 files changed, 29 insertions(+), 9 deletions(-)

Re: [PATCH v2] branch: colour upstream branches

2013-04-14 Thread Jeff King
On Sun, Apr 14, 2013 at 06:38:27PM -0500, Felipe Contreras wrote: + if (want_color(branch_use_color)) + snprintf(fancy, sizeof(fancy), %s%s%s, + branch_get_color(BRANCH_COLOR_UPSTREAM), +

Re: [PATCH v2] branch: colour upstream branches

2013-04-14 Thread Felipe Contreras
On Sun, Apr 14, 2013 at 8:52 PM, Junio C Hamano gits...@pobox.com wrote: Jeff King p...@peff.net writes: On Sun, Apr 14, 2013 at 06:38:27PM -0500, Felipe Contreras wrote: +if (want_color(branch_use_color)) +snprintf(fancy, sizeof(fancy), %s%s%s, +