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 <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Jeff King committed
Jul 1, 2009 at 03:26 UTC
8715227df65071b38a3c91553cdb51365aa5cfd9
1 file changed
+2
-1
log-tree.c
+2
-1
@@ -321,7 +321,8 @@ void show_log(struct rev_info *opt)
321
}
322
323
/*
324
- * If use_terminator is set, add a newline at the end of the entry.
324
+ * If use_terminator is set, we already handled any record termination
325
+ * at the end of the last record.
326
* Otherwise, add a diffopt.line_termination character before all
327
* entries but the first. (IOW, as a separator between entries)
328
*/