summaryrefslogtreecommitdiff
path: root/include/git2/email.h
Commit message (Collapse)AuthorAgeFilesLines
* Make enum in includes C90 compliant by removing trailing comma.Peter Pettersson2021-11-151-1/+1
|
* email: include renames by defaultEdward Thomson2021-09-181-2/+10
| | | | | `git format-patch` includes diffs with rename detection enabled by default when creating emails. Match this behavior.
* email: include binary diffs by defaultEdward Thomson2021-09-181-5/+9
| | | | | `git format-patch` includes binary diffs by default when creating emails. Match this behavior.
* email: introduce `git_email_create_from_diff`Edward Thomson2021-09-181-13/+22
| | | | | | | | | Introduce a function to create an email from a diff and multiple inputs about the source of the diff. Creating an email from a diff requires many more inputs, and should be discouraged in favor of building directly from a commit, and is thus in the `sys` namespace.
* email: introduce `git_email_create_from_commit`Edward Thomson2021-09-181-0/+106
Create `git_email_*` which will encapsulate email creation and application, and `git_email_create_from_commit` in particular, which creates an email for a single commit.