git_email_create_from_diff

Create a diff for a commit in mbox format for sending via email.

extern (C) nothrow @nogc
int
git_email_create_from_diff

Parameters

out_ libgit2.buffer.git_buf*

buffer to store the e-mail patch in

diff libgit2.diff.git_diff*

the changes to include in the email

patch_idx size_t

the patch index

patch_count size_t

the total number of patches that will be included

commit_id const(libgit2.oid.git_oid)*

the commit id for this change

summary const(char)*

the commit message for this change

body_ const(char)*

optional text to include above the diffstat

author const(libgit2.types.git_signature)*

the person who authored this commit

opts const(.git_email_create_options)*

email creation options

Meta