diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-05-08 08:59:34 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-05-08 08:59:34 +0200 |
commit | a56fb3dcc09239795823de40ffcbbf5713114eb5 (patch) | |
tree | bbaacfff89ae614d0218b38705e43ea4d455e59b /config.c | |
parent | Merge branch 'jc/parseopt-expiry-errors' (diff) | |
parent | config: document the settings to colorize push errors/hints (diff) | |
download | git-a56fb3dcc09239795823de40ffcbbf5713114eb5.tar.xz git-a56fb3dcc09239795823de40ffcbbf5713114eb5.zip |
Merge branch 'js/colored-push-errors'
Error messages from "git push" can be painted for more visibility.
* js/colored-push-errors:
config: document the settings to colorize push errors/hints
push: test to verify that push errors are colored
push: colorize errors
color: introduce support for colorizing stderr
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1452,7 +1452,7 @@ int git_default_config(const char *var, const char *value, void *dummy) if (starts_with(var, "mailmap.")) return git_default_mailmap_config(var, value); - if (starts_with(var, "advice.")) + if (starts_with(var, "advice.") || starts_with(var, "color.advice")) return git_default_advice_config(var, value); if (!strcmp(var, "pager.color") || !strcmp(var, "color.pager")) { |