diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-03-20 13:50:51 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-03-20 13:50:51 -0700 |
commit | 5f456b3c2612dce9cbc3ba4864dd0e5fdf429cac (patch) | |
tree | d4d7fd402a8490ab4c61a4eff9ba8f054395f0cb /log-tree.c | |
parent | cfe96b38fddc114c0bc98bbeab51b0f18fd102c3 (diff) | |
parent | 5ee875852e3cb41c21c2e89a636fc1e40c4012b1 (diff) | |
download | git-5f456b3c2612dce9cbc3ba4864dd0e5fdf429cac.tar.gz |
Merge branch 'jc/decorate-leaky-separator-color'
"git log --decorate" did not reset colors correctly around the
branch names.
* jc/decorate-leaky-separator-color:
log --decorate: do not leak "commit" color into the next item
Documentation/config.txt: simplify boolean description in the syntax section
Documentation/config.txt: describe 'color' value type in the "Values" section
Documentation/config.txt: have a separate "Values" section
Documentation/config.txt: describe the structure first and then meaning
Documentation/config.txt: explain multi-valued variables once
Documentation/config.txt: avoid unnecessary negation
Diffstat (limited to 'log-tree.c')
-rw-r--r-- | log-tree.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/log-tree.c b/log-tree.c index 7f0890e4ac..53bb52659b 100644 --- a/log-tree.c +++ b/log-tree.c @@ -195,6 +195,7 @@ void format_decorations_extended(struct strbuf *sb, while (decoration) { strbuf_addstr(sb, color_commit); strbuf_addstr(sb, prefix); + strbuf_addstr(sb, color_reset); strbuf_addstr(sb, decorate_get_color(use_color, decoration->type)); if (decoration->type == DECORATION_REF_TAG) strbuf_addstr(sb, "tag: "); |