git_diff_commit_as_email

Create an e-mail ready patch for a commit.

Does not support creating patches for merge commits (yet).

@param out_ buffer to store the e-mail patch in @param repo containing the commit @param commit pointer to up commit @param patch_no patch number of the commit @param total_patches total number of patches in the patch set @param flags determines the formatting of the e-mail @param diff_opts structure with options to influence diff or null for defaults. @return 0 or an error code

Meta