diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-10-18 10:19:08 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-10-18 10:19:08 +0900 |
commit | 1c0b983a777bf283250aaf00c94a9a9d4bf8bc9c (patch) | |
tree | da278177d16ce137f6b19de518b149ba6edcbdca /config.c | |
parent | Merge branch 'js/rebase-i-final' (diff) | |
parent | tag: respect color.ui config (diff) | |
download | tgif-1c0b983a777bf283250aaf00c94a9a9d4bf8bc9c.tar.xz |
Merge branch 'jk/ref-filter-colors-fix'
This is the "theoretically more correct" approach of simply
stepping back to the state before plumbing commands started paying
attention to "color.ui" configuration variable.
Let's run with this one.
* jk/ref-filter-colors-fix:
tag: respect color.ui config
Revert "color: check color.ui in git_default_config()"
Revert "t6006: drop "always" color config tests"
Revert "color: make "always" the same as "auto" in config"
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -16,7 +16,6 @@ #include "string-list.h" #include "utf8.h" #include "dir.h" -#include "color.h" struct config_source { struct config_source *prev; @@ -1351,9 +1350,6 @@ int git_default_config(const char *var, const char *value, void *dummy) if (starts_with(var, "advice.")) return git_default_advice_config(var, value); - if (git_color_config(var, value, dummy) < 0) - return -1; - if (!strcmp(var, "pager.color") || !strcmp(var, "color.pager")) { pager_use_color = git_config_bool(var,value); return 0; |