8000 Remove duplicating declaration of git_email_create_from_diff() · libgit2/libgit2@a3d8d0c · GitHub
[go: up one dir, main page]

Skip to content

Commit a3d8d0c

Browse files
committed
Remove duplicating declaration of git_email_create_from_diff()
Exactly the same function already declared in include/git2/email.h
1 parent 863e0a0 commit a3d8d0c

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

include/git2/sys/email.h

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -21,29 +21,6 @@
2121
*/
2222
GIT_BEGIN_DECL
2323

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_t patch_idx,
41-
size_t patch_count,
42-
const git_oid *commit_id,
43-
const char *summary,
44-
const char *body,
45-
const git_signature *author,
46-
const git_email_create_options *opts);
4724

4825
/** @} */
4926
GIT_END_DECL

0 commit comments

Comments
 (0)
0