/
uis
/
git
/
x
/
uis
/
git
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
color: delay auto-color decision until point of use
[git/git.git]
/
builtin
/
branch.c
diff --git
a/builtin/branch.c
b/builtin/branch.c
index
b15fee5
..
d6d3c7d
100644
(file)
--- a/
builtin/branch.c
+++ b/
builtin/branch.c
@@
-88,7
+88,7
@@
static int git_branch_config(const char *var, const char *value, void *cb)
static const char *branch_get_color(enum color_branch ix)
{
- if (
branch_use_color > 0
)
+ if (
want_color(branch_use_color)
)
return branch_colors[ix];
return "";
}