From: Jeff King Date: Wed, 1 Jul 2009 07:26:28 +0000 (-0400) Subject: log-tree: fix confusing comment X-Git-Tag: v1.6.4-rc0~30 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8715227df65071b38a3c91553cdb51365aa5cfd9;p=git.git log-tree: fix confusing comment This comment mentions the case where use_terminator is set, but this case is not handled at all by this chunk of code. Signed-off-by: Jeff King Signed-off-by: Junio C Hamano --- diff --git a/log-tree.c b/log-tree.c index 59d63eb67..6f73c17d7 100644 --- a/log-tree.c +++ b/log-tree.c @@ -321,7 +321,8 @@ void show_log(struct rev_info *opt) } /* - * If use_terminator is set, add a newline at the end of the entry. + * If use_terminator is set, we already handled any record termination + * at the end of the last record. * Otherwise, add a diffopt.line_termination character before all * entries but the first. (IOW, as a separator between entries) */