diff options
author | Nazri Ramliy <ayiehere@gmail.com> | 2010-06-24 08:21:16 +0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-06-24 12:57:34 -0700 |
commit | 5e11bee65f601ba97dc4c61c75fcb2f448fdcb1c (patch) | |
tree | e9a6767dfbaeec64b96843c74f4315d8d9220770 /builtin/log.c | |
parent | 67a4b5864f9423ccfe8090365029dae918504830 (diff) | |
download | git-5e11bee65f601ba97dc4c61c75fcb2f448fdcb1c.tar.gz |
Allow customizable commit decorations colors
Signed-off-by: Nazri Ramliy <ayiehere@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/log.c')
-rw-r--r-- | builtin/log.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/builtin/log.c b/builtin/log.c index 976e16f9f2..0835866b15 100644 --- a/builtin/log.c +++ b/builtin/log.c @@ -296,6 +296,9 @@ static int git_log_config(const char *var, const char *value, void *cb) default_show_root = git_config_bool(var, value); return 0; } + if (!prefixcmp(var, "color.decorate.")) + return parse_decorate_color_config(var, 15, value); + return git_diff_ui_config(var, value, cb); } |