branch: set remote color in ref-filter branch immediately
commit7ca260abfeab45a651f0cf58864a3a02da76cd1f
authorJeff King <peff@peff.net>
Sun, 9 Jul 2017 10:00:45 +0000 (9 06:00 -0400)
committerJunio C Hamano <gitster@pobox.com>
Sun, 9 Jul 2017 16:24:43 +0000 (9 09:24 -0700)
treea793ff23ae212392ffc8f900ac3263c4d159632a
parent34d820ee336598d93f1fa619f517811ee0ef503d
branch: set remote color in ref-filter branch immediately

We set the current and local branch colors at the top of the
build_format() function. Let's do the same for the remote
color. This saves a little bit of repetition, but more
importantly it puts all of the color-setting in the same
place. That makes it easier to see that we are coloring all
possibilities.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/branch.c