Re: [PATCH] diff.c: fix a graph output bug
- From
Bo Yang <struggleyb.nku@gmail.com>
- Date
- Jul 11, 2010, 06:10 UTC
- Message-ID
- <AANLkTimfQ3ZBCdz0aeDdpsWvcLrG-AxWoLYGCoa8zLi4@mail.gmail.com>
- In-Reply-To
- <7v1vbdo4j5.fsf@alter.siamese.dyndns.org>
Hi Junio,
On Fri, Jul 9, 2010 at 8:57 AM, Junio C Hamano <gitster@pobox.com> wrote:
Show 19 quoted lines
> Perhaps something like this? > > From: Bo Yang <struggleyb.nku@gmail.com> > 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 <struggleyb.nku@gmail.com> > Signed-off-by: Junio C Hamano <gitster@pobox.com> > --- > diff.c | 3 +-- > 1 files changed, 1 insertions(+), 2 deletions(-) > ... >
Hmm, your description is great, thanks a lot! And please apply this patch, thanks!
-- Regards! Bo ---------------------------- My blog: http://blog.morebits.org Why Git: http://www.whygitisbetterthanx.com/