Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
describe: Break annotated tag ties by tagger date
[gitweb.git]
/
pretty.c
diff --git
a/pretty.c
b/pretty.c
index 8f5bd1ab7f119715564fb13cb74de3937d1a3774..b2ee7fe9de2830dbc276b49d54a18d1130b751a2 100644
(file)
--- a/
pretty.c
+++ b/
pretty.c
@@
-1094,7
+1094,7
@@
void pretty_print_commit(enum cmit_fmt fmt, const struct commit *commit,
if (fmt == CMIT_FMT_EMAIL && sb->len <= beginning_of_body)
strbuf_addch(sb, '\n');
- if (
fmt != CMIT_FMT_ONELINE
)
+ if (
context->show_notes
)
get_commit_notes(commit, sb, encoding,
NOTES_SHOW_HEADER | NOTES_INDENT);