Skip to content

Commit 0ec2f6b

Browse files
author
Junio C Hamano
committed
diff --color: use reset sequence when we mean reset.
Signed-off-by: Junio C Hamano <[email protected]>
1 parent 1054dcd commit 0ec2f6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

diff.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ static void builtin_diff(const char *name_a,
616616
const char *lbl[2];
617617
char *a_one, *b_two;
618618
const char *set = get_color(o->color_diff, DIFF_METAINFO);
619-
const char *reset = get_color(o->color_diff, DIFF_PLAIN);
619+
const char *reset = get_color(o->color_diff, DIFF_RESET);
620620

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

0 commit comments

Comments
 (0)