libgit2

git_diff_commit_as_email

Deprecated
Version:

Create an e-mail ready patch for a commit.

Deprecations

See

Signature

int git_diff_commit_as_email(git_buf *out, git_repository *repo, git_commit *commit, size_t patch_no, size_t total_patches, uint32_t flags, const git_diff_options *diff_opts);

Parameters

In
out
In
commit
size_t
In
patch_no
size_t
In
total_patches
uint32_t
In
flags

Returns

int

Versions