{"ref":"refs/heads/format-patch-notes","commits":[{"author":{"name":"Michael J Gruber","email":"46f1a0bd5592a2f9244ca321b129902a06b53e03@drmicha.warpmail.net"},"sha":"88efec03fb0bca958cb7dd367aa58840d2268a2b","message":"notes/pretty: allow callers to set the notes format from struct rev_info\n\nThe notes display format is customisable, but this possibility is hidden\nfrom callers which go through struct rev_info's show_notes member and the\npretty-machinery.\n\nChange the show_notes member to an int which determines the format, and\nset it to NOTES_DEFAULT (which is NOTES_SHOW_HEADER | NOTES_INDENT)\nwhere we set it to 1 before. This allows callers to choose a different\nform.\n\nThe only form which cannot be chosen that way is \"bare\" (no indent, no\nheader) because \"0\" means \"do not show notes\" for this code path. But\ncurrent callers which need that (e.g. \"%N\" processing) call the notes\nformatters directly instead. And for future callers which need to\nrequest \"bare\" through rev_info's show_notes we can always introduce\nanother notes format flag NOTES_BARE when we need it.\n\nNo functional change with this commit.","url":"https://api.github.com/repos/gitigit/git/commits/88efec03fb0bca958cb7dd367aa58840d2268a2b"},{"author":{"name":"Michael J Gruber","email":"46f1a0bd5592a2f9244ca321b129902a06b53e03@drmicha.warpmail.net"},"sha":"5d6de4cded6295fea5d33ddb26c38a44f2e5e824","message":"format-patch: show notes as message after the ---\n\nWhen requesting notes with \"--notes\", \"format-patch\" produces notes\nwithin the commit message which \"am\" misunderstands as being part of the\nmessage.\n\nChange this so that notes are displayed after an additional \"---\". Any\n\"am\" (old or new) will ignore that, so that it is a safe place for\nadditional comments:\n\nLog message\n\"---\"\nnotes\n\"---\"\ndiffstat\npatch\n\n(The first \"---\" appears only when there is a note, of course.)\n\nLater on (say with \"--format-notes\") the output format can be changed\neasily to accomodate a future \"am\" which knows how to create notes from\nsuch patches.","url":"https://api.github.com/repos/gitigit/git/commits/5d6de4cded6295fea5d33ddb26c38a44f2e5e824"},{"author":{"name":"Michael J Gruber","email":"46f1a0bd5592a2f9244ca321b129902a06b53e03@drmicha.warpmail.net"},"sha":"64dd653da5abebbc5afea907aba24e0fb5fa1bdc","message":"WIP: marks","url":"https://api.github.com/repos/gitigit/git/commits/64dd653da5abebbc5afea907aba24e0fb5fa1bdc"}],"head":"64dd653da5abebbc5afea907aba24e0fb5fa1bdc","size":3,"push_id":52761223}