Thread (3 messages) flat view 3 messages, 3 authors, 2016-06-15

Re: [PATCH] diff.c: fix a graph output bug

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:49:06

Junio C Hamano [off-list ref] writes:
struggleyb.nku@gmail.com writes:
quoted
From: Bo Yang <redacted>

Ouput the line_prefix ahead of color sequence.
Justification for the patch, and/or a better bug description ("when run
with this combination of options, X gets painted in that color that is not
meant to be used for X") please?
quoted
Signed-off-by: Bo Yang <redacted>
Perhaps something like this?

From: Bo Yang <redacted>
Date: Thu, 8 Jul 2010 23:12:34 +0800
Subject: [PATCH] diff.c: fix a graph output bug

When --graph is in effect, the line-prefix typically has colored graph
line segments and ends with reset.  The color sequence "set" given to
this function is for showing the metainfo part of the patch text and
(1) it should not be applied to the graph lines, and (2) it will be
reset at the end of line_prefix so it won't be effect anyway.

Signed-off-by: Bo Yang <redacted>
Signed-off-by: Junio C Hamano <redacted>
---
 diff.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
 ...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help