mailmap: Fix some other minor style nits
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
diff --git a/include/git2/signature.h b/include/git2/signature.h
index 18fae98..981a4f1 100644
--- a/include/git2/signature.h
+++ b/include/git2/signature.h
@@ -85,8 +85,7 @@ GIT_EXTERN(int) git_signature_from_buffer(git_signature **out, const char *buf);
* @param mailmap mailmap to resolve with
* @return 0 or an error code
*/
-GIT_EXTERN(int) git_signature_with_mailmap(
- git_signature **out, const git_signature *sig, const git_mailmap *mailmap);
+GIT_EXTERN(int) git_signature_with_mailmap(git_signature **out, const git_signature *sig, const git_mailmap *mailmap);
/**
* Create a copy of an existing signature. All internal strings are also
diff --git a/tests/mailmap/basic.c b/tests/mailmap/basic.c
index 10fc30b..9b06f18 100644
--- a/tests/mailmap/basic.c
+++ b/tests/mailmap/basic.c
@@ -28,7 +28,7 @@ void test_mailmap_basic__cleanup(void)
void test_mailmap_basic__entry(void)
{
- const git_mailmap_entry* entry;
+ const git_mailmap_entry *entry;
cl_assert(git_mailmap_entry_count(mailmap) == 4);
@@ -43,7 +43,7 @@ void test_mailmap_basic__entry(void)
void test_mailmap_basic__lookup_not_found(void)
{
- const git_mailmap_entry* entry = git_mailmap_entry_lookup(
+ const git_mailmap_entry *entry = git_mailmap_entry_lookup(
mailmap,
"Whoever",
"doesnotexist@fo.com");
@@ -52,7 +52,7 @@ void test_mailmap_basic__lookup_not_found(void)
void test_mailmap_basic__lookup(void)
{
- const git_mailmap_entry* entry = git_mailmap_entry_lookup(
+ const git_mailmap_entry *entry = git_mailmap_entry_lookup(
mailmap,
"Typoed the name once",
"foo@baz.com");
@@ -62,8 +62,8 @@ void test_mailmap_basic__lookup(void)
void test_mailmap_basic__empty_email_query(void)
{
- const char* name;
- const char* email;
+ const char *name;
+ const char *email;
git_mailmap_resolve(
&name,
&email,
@@ -76,8 +76,8 @@ void test_mailmap_basic__empty_email_query(void)
void test_mailmap_basic__name_matching(void)
{
- const char* name;
- const char* email;
+ const char *name;
+ const char *email;
git_mailmap_resolve(
&name,
&email,