diff options
Diffstat (limited to 'log-tree.c')
-rw-r--r-- | log-tree.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/log-tree.c b/log-tree.c index 4c7d7ef0c6..d3fb0e520c 100644 --- a/log-tree.c +++ b/log-tree.c @@ -307,11 +307,10 @@ void show_log(struct rev_info *opt) if (opt->show_log_size) printf("log size %i\n", (int)msgbuf.len); - if (msgbuf.len) { + if (msgbuf.len) fwrite(msgbuf.buf, sizeof(char), msgbuf.len, stdout); - if (opt->use_terminator) - putchar('\n'); - } + if (opt->use_terminator) + putchar('\n'); strbuf_release(&msgbuf); } |