diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-10-17 21:27:22 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-10-17 22:42:40 -0700 |
commit | bd1470b8cb0cfb42c7de3b9084cdd8ae53aa1d4c (patch) | |
tree | 9bcc985a19574ae25c5edf4743341d3f7dfc3856 /revision.h | |
parent | 212620fe7e74f6bd4a30a5a39d7c7b3f685ef888 (diff) | |
download | git-bd1470b8cb0cfb42c7de3b9084cdd8ae53aa1d4c.tar.gz |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/revision.h b/revision.h index a95bd0b3f3..059bfff812 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, |