summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8c989ec)
raw | patch | inline | side by side (parent: 8c989ec)
author | Junio C Hamano <junkio@cox.net> | |
Thu, 13 Apr 2006 07:26:21 +0000 (00:26 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 13 Apr 2006 07:26:21 +0000 (00:26 -0700) |
Signed-off-by: Junio C Hamano <junkio@cox.net>
git.c | patch | blob | history |
index 5cb0d32070bfdc067ac02c4a5186c3f2db3d5619..d6f17db919ed0bcafbde0d7e3fa825692c66e8a8 100644 (file)
--- a/git.c
+++ b/git.c
prepare_revision_walk(&rev);
setup_pager();
while ((commit = get_revision(&rev)) != NULL) {
- if (commit_format != CMIT_FMT_ONELINE && shown)
+ if (shown && do_diff && commit_format != CMIT_FMT_ONELINE)
putchar('\n');
fputs(commit_prefix, stdout);
if (abbrev_commit && abbrev)