* [PATCH] Always reset the color _before_ printing out the newline
@ 2006-07-24 12:41 Johannes Schindelin
2006-07-24 13:08 ` Jeff King
0 siblings, 1 reply; 2+ messages in thread
From: Johannes Schindelin @ 2006-07-24 12:41 UTC (permalink / raw)
To: git, junkio
This patch brings the benefits of part of v1.4.1-rc2~37
to the "commit" colorizing patch.
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
---
log-tree.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/log-tree.c b/log-tree.c
index 608f3ec..b67b8dd 100644
--- a/log-tree.c
+++ b/log-tree.c
@@ -144,9 +144,9 @@ void show_log(struct rev_info *opt, cons
printf(" (from %s)",
diff_unique_abbrev(parent->object.sha1,
abbrev_commit));
- putchar(opt->commit_format == CMIT_FMT_ONELINE ? ' ' : '\n');
printf("%s",
diff_get_color(opt->diffopt.color_diff, DIFF_RESET));
+ putchar(opt->commit_format == CMIT_FMT_ONELINE ? ' ' : '\n');
}
/*
--
1.4.2.rc1.g41e1-dirty
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-07-24 13:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-24 12:41 [PATCH] Always reset the color _before_ printing out the newline Johannes Schindelin
2006-07-24 13:08 ` Jeff King
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox