summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-06-24 11:20:39 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-06-24 11:24:34 (GMT)
commit0ec2f6b7392f8f041fd48f824bbf22c4dd13ac40 (patch)
tree78731346f151fc299d947fda8c442297ce9687b2
parent1054dcd1652644f3a80cf6ce546d24c1fee4066a (diff)
downloadgit-0ec2f6b7392f8f041fd48f824bbf22c4dd13ac40.zip
git-0ec2f6b7392f8f041fd48f824bbf22c4dd13ac40.tar.gz
git-0ec2f6b7392f8f041fd48f824bbf22c4dd13ac40.tar.bz2
diff --color: use reset sequence when we mean reset.
Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r--diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/diff.c b/diff.c
index 1db0285..f89224f 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);