Browse Source

diff --color: use reset sequence when we mean reset.

Signed-off-by: Junio C Hamano <junkio@cox.net>
maint
Junio C Hamano 19 years ago
parent
commit
0ec2f6b739
  1. 2
      diff.c

2
diff.c

@ -616,7 +616,7 @@ static void builtin_diff(const char *name_a, @@ -616,7 +616,7 @@ static void builtin_diff(const char *name_a,
const char *lbl[2];
char *a_one, *b_two;
const char *set = get_color(o->color_diff, DIFF_METAINFO);
const char *reset = get_color(o->color_diff, DIFF_PLAIN);
const char *reset = get_color(o->color_diff, DIFF_RESET);

a_one = quote_two("a/", name_a);
b_two = quote_two("b/", name_b);

Loading…
Cancel
Save