Merge branch 'jc/prettier-pretty-note'
Emit the notes attached to the commit in "format-patch --notes" output after three-dashes. * jc/prettier-pretty-note: format-patch: add a blank line between notes and diffstat Doc User-Manual: Patch cover letter, three dashes, and --notes Doc format-patch: clarify --notes use case Doc notes: Include the format-patch --notes option Doc SubmittingPatches: Mention --notes option after "cover letter" Documentation: decribe format-patch --notes format-patch --notes: show notes after three-dashes format-patch: append --signature after notes pretty_print_commit(): do not append notes message pretty: prepare notes message at a centralized place format_note(): simplify API pretty: remove reencode_commit_message()
This commit is contained in:
@ -2242,7 +2242,7 @@ static int commit_match(struct commit *commit, struct rev_info *opt)
|
||||
if (!buf.len)
|
||||
strbuf_addstr(&buf, commit->buffer);
|
||||
format_display_notes(commit->object.sha1, &buf,
|
||||
get_log_output_encoding(), 0);
|
||||
get_log_output_encoding(), 1);
|
||||
}
|
||||
|
||||
/* Find either in the commit object, or in the temporary */
|
||||
|
Reference in New Issue
Block a user