format-patch --notes: show notes after three-dashes
authorJunio C Hamano <gitster@pobox.com>
Thu, 18 Oct 2012 04:27:22 +0000 (21:27 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 18 Oct 2012 05:42:40 +0000 (22:42 -0700)
commitbd1470b8cb0cfb42c7de3b9084cdd8ae53aa1d4c
tree9bcc985a19574ae25c5edf4743341d3f7dfc3856
parent212620fe7e74f6bd4a30a5a39d7c7b3f685ef888
format-patch --notes: show notes after three-dashes

When inserting the note after the commit log message to format-patch
output, add three dashes before the note.  Record the fact that we
did so in the rev_info and omit showing duplicated three dashes in
the usual codepath that is used when notes are not being shown.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
log-tree.c
revision.h
t/t4014-format-patch.sh