format-patch --notes: show notes after three-dashes
[gitweb.git] / pretty.c
index a53eb532aa5ae78b336d313ad46d4e5770c60092..1925e9c3e479f711f6f9f35b3e570e455ba45ac5 100644 (file)
--- a/pretty.c
+++ b/pretty.c
@@ -1417,9 +1417,6 @@ void pretty_print_commit(const struct pretty_print_context *pp,
        if (pp->fmt == CMIT_FMT_EMAIL && sb->len <= beginning_of_body)
                strbuf_addch(sb, '\n');
 
-       if (pp->notes_message && *pp->notes_message)
-               strbuf_addstr(sb, pp->notes_message);
-
        free(reencoded);
 }