tag.c: Parse tagger date (if present)
[gitweb.git] / builtin-log.c
index 1766349550f5b4204e77f6f6eeca486cee322ca1..2cb292fa727222487b5fed7f6f4db2bcc4237f49 100644 (file)
@@ -58,6 +58,9 @@ static void cmd_log_init(int argc, const char **argv, const char *prefix,
                usage(builtin_log_usage);
        argc = setup_revisions(argc, argv, rev, "HEAD");
 
+       if (!rev->show_notes_given && !rev->pretty_given)
+               rev->show_notes = 1;
+
        if (rev->diffopt.pickaxe || rev->diffopt.filter)
                rev->always_show_header = 0;
        if (DIFF_OPT_TST(&rev->diffopt, FOLLOW_RENAMES)) {