Files
git/builtin
Jeff King 34d820ee33 branch: use BRANCH_COLOR_LOCAL in ref-filter format
Since 949af0684 (branch: use ref-filter printing APIs,
2017-01-10), git-branch's output is generated by passing a
custom format to the ref-filter code. This format forgot to
pass BRANCH_COLOR_LOCAL, meaning that local branches
(besides the current one) were never colored at all.

We can add it in the %(if) block where we decide whether the
branch is "current" or merely "local".  Note that this means
the current/local coloring is either/or. You can't set:

  [color "branch"]
  local = blue
  current = bold

and expect the current branch to be "bold blue". This
matches the pre-949af0684 behavior.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2017-07-09 09:24:42 -07:00
..
2016-12-21 14:55:01 -08:00
2016-11-22 13:55:20 -08:00
2016-10-10 14:03:51 -07:00
2016-02-26 13:37:16 -08:00
2016-12-19 14:45:35 -08:00
2016-09-29 15:42:18 -07:00
2016-09-21 15:15:24 -07:00
2016-09-29 15:42:18 -07:00
2016-10-10 14:03:50 -07:00
2016-09-26 16:09:17 -07:00
2016-11-22 13:13:16 -08:00
2016-09-29 15:42:18 -07:00
2016-09-29 15:42:18 -07:00
2016-12-19 14:45:38 -08:00
2016-07-14 15:50:41 -07:00
2016-09-29 15:42:18 -07:00
2016-07-13 11:24:10 -07:00
2015-10-05 13:20:08 -07:00
2016-09-29 20:40:23 -07:00
2016-10-03 12:46:47 -07:00
2017-01-31 12:43:04 -08:00
2016-11-28 13:18:51 -08:00