summaryrefslogtreecommitdiff
path: root/revision.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-10-18 04:27:22 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-10-18 05:42:40 (GMT)
commitbd1470b8cb0cfb42c7de3b9084cdd8ae53aa1d4c (patch)
tree9bcc985a19574ae25c5edf4743341d3f7dfc3856 /revision.h
parent212620fe7e74f6bd4a30a5a39d7c7b3f685ef888 (diff)
downloadgit-bd1470b8cb0cfb42c7de3b9084cdd8ae53aa1d4c.zip
git-bd1470b8cb0cfb42c7de3b9084cdd8ae53aa1d4c.tar.gz
git-bd1470b8cb0cfb42c7de3b9084cdd8ae53aa1d4c.tar.bz2
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>
Diffstat (limited to 'revision.h')
-rw-r--r--revision.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/revision.h b/revision.h
index a95bd0b..059bfff 100644
--- a/revision.h
+++ b/revision.h
@@ -111,6 +111,7 @@ struct rev_info {
/* Format info */
unsigned int shown_one:1,
+ shown_dashes:1,
show_merge:1,
show_notes:1,
show_notes_given:1,