Add flags to get_commit_notes() to control the format of the note string