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>
This commit is contained in:
Jeff King 2009-07-01 03:26:28 -04:00 коммит произвёл Junio C Hamano
Родитель 725cf7b45d
Коммит 8715227df6
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -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)
*/