{"thread":{"id":"51032","subject":"[PATCH] notes: correct documentation of format_display_notes()","startedAt":"2019-05-04T18:52:43Z","lastAt":"2019-05-04T18:52:43Z","messageCount":1,"participants":["Chris Mayo"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"374900","messageId":"20190504184507.4405-1-aklhfex@gmail.com","threadId":"51032","inReplyTo":null,"subject":"[PATCH] notes: correct documentation of format_display_notes()","fromName":"Chris Mayo","fromEmail":"aklhfex@gmail.com","sentAt":"2019-05-04T18:45:07Z","receivedAt":"2019-05-04T18:52:43Z","isPatch":true,"sender":{"key":"aklhfex@gmail.com","avatar":"https://avatars.githubusercontent.com/u/921089?v=4"},"body":"'flags' parameter was replaced by 'raw' in commit:\n76141e2e62 (\"format_note(): simplify API\", 2012-10-17)\n\nSigned-off-by: Chris Mayo <aklhfex@gmail.com>\n---\n notes.h | 8 +++-----\n 1 file changed, 3 insertions(+), 5 deletions(-)\n\ndiff --git a/notes.h b/notes.h\nindex 414bc6855a..76337f2384 100644\n--- a/notes.h\n+++ b/notes.h\n@@ -276,12 +276,10 @@ void init_display_notes(struct display_notes_opt *opt);\n \n /*\n  * Append notes for the given 'object_sha1' from all trees set up by\n- * init_display_notes() to 'sb'.  The 'flags' are a bitwise\n- * combination of\n+ * init_display_notes() to 'sb'.\n  *\n- * - NOTES_SHOW_HEADER: add a 'Notes (refname):' header\n- *\n- * - NOTES_INDENT: indent the notes by 4 places\n+ * If 'raw' is false the note will be indented by 4 places and\n+ * a 'Notes (refname):' header added.\n  *\n  * You *must* call init_display_notes() before using this function.\n  */\n-- \n2.21.0\n\n"}]}