diff options
| author | Nika Layzell <nika@thelayzells.com> | 2018-03-27 22:48:03 -0400 |
|---|---|---|
| committer | Nika Layzell <nika@thelayzells.com> | 2018-06-14 22:43:28 -0700 |
| commit | 18ff9babd7476097a67e122b9126c878f98ff47f (patch) | |
| tree | b415caa793dfd36c74b55738d2a1525019e49799 /include/git2/mailmap.h | |
| parent | 57cfeab9fe480591e3f56d61ccfbb68f9b500156 (diff) | |
| download | libgit2-18ff9babd7476097a67e122b9126c878f98ff47f.tar.gz | |
mailmap: API and style cleanup
Diffstat (limited to 'include/git2/mailmap.h')
| -rw-r--r-- | include/git2/mailmap.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/git2/mailmap.h b/include/git2/mailmap.h index 30cc9cf69..a8c4ccbf7 100644 --- a/include/git2/mailmap.h +++ b/include/git2/mailmap.h @@ -85,8 +85,9 @@ GIT_EXTERN(void) git_mailmap_free(git_mailmap *mailmap); * @param mailmap the mailmap to perform the lookup in. (may be NULL) * @param name the name to resolve. * @param email the email to resolve. + * @return 0 on success, otherwise an error code. */ -GIT_EXTERN(void) git_mailmap_resolve( +GIT_EXTERN(int) git_mailmap_resolve( const char **name_out, const char **email_out, const git_mailmap *mailmap, const char *name, const char *email); |
