git_email_create_from_commit

Create a diff for a commit in mbox format for sending via email. The commit must not be a merge commit.

extern (C) nothrow @nogc
int
git_email_create_from_commit

Parameters

out_ libgit2.buffer.git_buf*

buffer to store the e-mail patch in

commit libgit2.types.git_commit*

commit to create a patch for

opts const(.git_email_create_options)*

email creation options

Meta