summaryrefslogtreecommitdiff
path: root/log-tree.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2009-07-01 03:26:28 -0400
committerJunio C Hamano <gitster@pobox.com>2009-07-01 11:16:54 -0700
commit8715227df65071b38a3c91553cdb51365aa5cfd9 (patch)
treec2e0e106b384a9aca921f8400aa8d7aa34fd4b61 /log-tree.c
parent725cf7b45da1f983fa1cbb0757b0e8855e5ac2de (diff)
downloadgit-8715227df65071b38a3c91553cdb51365aa5cfd9.tar.gz
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>
Diffstat (limited to 'log-tree.c')
-rw-r--r--log-tree.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/log-tree.c b/log-tree.c
index 59d63eb67e..6f73c17d74 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)
*/