Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
log-tree: fix confusing comment
author
Jeff King
<peff@peff.net>
Wed, 1 Jul 2009 07:26:28 +0000
(
03:26
-0400)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 1 Jul 2009 18:16:54 +0000
(11:16 -0700)
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>
log-tree.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
725cf7b
)
diff --git
a/log-tree.c
b/log-tree.c
index 59d63eb67e57ab55bdca6493fa8b28b0c870ff21..6f73c17d74bee326a40505b29bba762bade2451e 100644
(file)
--- 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)
*/