Downloads
Reference
Learning
Security
Source
API Documentation
deprecated
git_diff_commit_as_email
Deprecated
Version:
main
v1.8.4
v1.8.3
v1.8.2
v1.8.2-rc1
v1.8.1
v1.8.0
v1.7.2
v1.7.1
v1.7.0
v1.6.5
v1.6.4
v1.6.3
v1.6.2
v1.6.1
v1.5.2
v1.5.1
v1.5.0
v1.4.6
v1.4.5
v1.4.4
v1.4.3
v1.4.2
v1.4.1
v1.4.0
v1.3.2
v1.3.1
v1.3.0
v1.2.0
v1.1.1
v1.1.0
v1.0.1
v1.0.0
v0.99.0
v0.28.5
v0.28.4
v0.28.3
v0.28.2
v0.28.1
v0.28.0
v0.28.0-rc1
v0.27.10
v0.27.9
v0.27.8
v0.27.7
v0.27.6
v0.27.5
v0.27.4
v0.27.3
v0.27.2
v0.27.1
v0.27.0
v0.27.0-rc3
v0.27.0-rc2
v0.27.0-rc1
v0.26.8
v0.26.7
v0.26.6
v0.26.5
v0.26.4
v0.26.3
v0.26.2
v0.26.1
v0.26.0
v0.26.0-rc2
v0.26.0-rc1
v0.25.1
v0.25.0
v0.25.0-rc2
v0.25.0-rc1
v0.24.6
v0.24.5
v0.24.4
v0.24.3
v0.24.2
v0.24.1
v0.24.0
v0.24.0-rc1
v0.23.4
v0.23.3
v0.23.2
v0.23.1
v0.23.0
v0.23.0-rc2
v0.23.0-rc1
v0.22.3
v0.22.2
v0.22.1
v0.22.0
v0.22.0-rc2
v0.22.0-rc1
v0.21.5
v0.21.4
v0.21.3
v0.21.2
v0.21.1
v0.21.0
v0.21.0-rc2
v0.21.0-rc1
Create an e-mail ready patch for a commit.
Deprecations
git_email_create_from_commit
See
git_email_create_from_commit
Signature
GitHub
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
git_buf *
In
out
git_repository *
In
repo
git_commit *
In
commit
size_t
In
patch_no
size_t
In
total_patches
uint32_t
In
flags
const git_diff_options *
In
diff_opts
Returns
int
Versions
main
v1.8.4
v1.8.3
v1.8.2
v1.8.2-rc1
v1.8.1
v1.8.0
v1.7.2
v1.7.1
v1.7.0
v1.6.5
v1.6.4
v1.6.3
v1.6.2
v1.6.1
v1.5.2
v1.5.1
v1.5.0
v1.4.6
v1.4.5
v1.4.4
v1.4.3
v1.4.2
v1.4.1
v1.4.0
v1.3.2
v1.3.1
v1.3.0
v1.2.0
v1.1.1
v1.1.0
v1.0.1
v1.0.0
v0.99.0
v0.28.5
v0.28.4
v0.28.3
v0.28.2
v0.28.1
v0.28.0
v0.28.0-rc1
v0.27.10
v0.27.9
v0.27.8
v0.27.7
v0.27.6
v0.27.5
v0.27.4
v0.27.3
v0.27.2
v0.27.1
v0.27.0
v0.27.0-rc3
v0.27.0-rc2
v0.27.0-rc1
v0.26.8
v0.26.7
v0.26.6
v0.26.5
v0.26.4
v0.26.3
v0.26.2
v0.26.1
v0.26.0
v0.26.0-rc2
v0.26.0-rc1
v0.25.1
v0.25.0
v0.25.0-rc2
v0.25.0-rc1
v0.24.6
v0.24.5
v0.24.4
v0.24.3
v0.24.2
v0.24.1
v0.24.0
v0.24.0-rc1
v0.23.4
v0.23.3
v0.23.2
v0.23.1
v0.23.0
v0.23.0-rc2
v0.23.0-rc1
v0.22.3
v0.22.2
v0.22.1
v0.22.0
v0.22.0-rc2
v0.22.0-rc1
v0.21.5
v0.21.4
v0.21.3
v0.21.2
v0.21.1
v0.21.0
v0.21.0-rc2
v0.21.0-rc1