log: decorate HEAD -> branch with the same color for arrow and HEAD
[gitweb.git] / log-tree.c
index 01beb11f65b518e382fa01f18f03c5a9f2ddf529..c70f992a963945610051bcbe20463da2e21d0dbf 100644 (file)
@@ -263,8 +263,6 @@ void format_decorations_extended(struct strbuf *sb,
 
                        if (current_and_HEAD &&
                            decoration->type == DECORATION_REF_HEAD) {
-                               strbuf_addstr(sb, color_reset);
-                               strbuf_addstr(sb, color_commit);
                                strbuf_addstr(sb, " -> ");
                                strbuf_addstr(sb, color_reset);
                                strbuf_addstr(sb, decorate_get_color(use_color, current_and_HEAD->type));