summaryrefslogtreecommitdiff
path: root/include/git2/mailmap.h
diff options
context:
space:
mode:
authorNika Layzell <nika@thelayzells.com>2018-03-27 22:48:03 -0400
committerNika Layzell <nika@thelayzells.com>2018-06-14 22:43:28 -0700
commit18ff9babd7476097a67e122b9126c878f98ff47f (patch)
treeb415caa793dfd36c74b55738d2a1525019e49799 /include/git2/mailmap.h
parent57cfeab9fe480591e3f56d61ccfbb68f9b500156 (diff)
downloadlibgit2-18ff9babd7476097a67e122b9126c878f98ff47f.tar.gz
mailmap: API and style cleanup
Diffstat (limited to 'include/git2/mailmap.h')
-rw-r--r--include/git2/mailmap.h3
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);