Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-06-24 15:20:39 +0400
committerJunio C Hamano <junkio@cox.net>2006-06-24 15:24:34 +0400
commit0ec2f6b7392f8f041fd48f824bbf22c4dd13ac40 (patch)
tree78731346f151fc299d947fda8c442297ce9687b2 /diff.c
parent1054dcd1652644f3a80cf6ce546d24c1fee4066a (diff)
diff --color: use reset sequence when we mean reset.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'diff.c')
-rw-r--r--diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/diff.c b/diff.c
index 1db0285cd7..f89224f75f 100644
--- a/diff.c
+++ b/diff.c
@@ -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);