|
21 | 21 | */
|
22 | 22 | GIT_BEGIN_DECL
|
23 | 23 |
|
24 |
| -/** |
25 |
| - * Create a diff for a commit in mbox format for sending via email. |
26 |
| - * |
27 |
| - * @param out buffer to store the e-mail patch in |
28 |
| - * @param diff the changes to include in the email |
29 |
| - * @param patch_idx the patch index |
30 |
| - * @param patch_count the total number of patches that will be included |
31 |
| - * @param commit_id the commit id for this change |
32 |
| - * @param summary the commit message for this change |
33 |
| - * @param body optional text to include above the diffstat |
34 |
| - * @param author the person who authored this commit |
35 |
| - * @param opts email creation options |
36 |
| - */ |
37 |
| -GIT_EXTERN(int)git_email_create_from_diff( |
38 |
| -git_buf*out, |
39 |
| -git_diff*diff, |
40 |
| -size_tpatch_idx, |
41 |
| -size_tpatch_count, |
42 |
| -constgit_oid*commit_id, |
43 |
| -constchar*summary, |
44 |
| -constchar*body, |
45 |
| -constgit_signature*author, |
46 |
| -constgit_email_create_options*opts); |
47 | 24 |
|
48 | 25 | /** @} */
|
49 | 26 | GIT_END_DECL
|
|