aboutsummaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-06-24 04:20:39 -0700
committerJunio C Hamano <junkio@cox.net>2006-06-24 04:24:34 -0700
commit0ec2f6b7392f8f041fd48f824bbf22c4dd13ac40 (patch)
tree78731346f151fc299d947fda8c442297ce9687b2 /diff.c
parent1054dcd1652644f3a80cf6ce546d24c1fee4066a (diff)
downloadgit-0ec2f6b7392f8f041fd48f824bbf22c4dd13ac40.tar.gz
git-0ec2f6b7392f8f041fd48f824bbf22c4dd13ac40.tar.xz
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 1db0285cd..f89224f75 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);