Skip to content

Commit 5c6c8a9

Browse files
emiliomystor
authored andcommitted
mailmap: Fix some other minor style nits
1 parent 4ff44be commit 5c6c8a9

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

include/git2/signature.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,7 @@ GIT_EXTERN(int) git_signature_from_buffer(git_signature **out, const char *buf);
8585
* @param mailmap mailmap to resolve with
8686
* @return 0 or an error code
8787
*/
88-
GIT_EXTERN(int) git_signature_with_mailmap(
89-
git_signature **out, const git_signature *sig, const git_mailmap *mailmap);
88+
GIT_EXTERN(int) git_signature_with_mailmap(git_signature **out, const git_signature *sig, const git_mailmap *mailmap);
9089

9190
/**
9291
* Create a copy of an existing signature. All internal strings are also

tests/mailmap/basic.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ void test_mailmap_basic__cleanup(void)
2828

2929
void test_mailmap_basic__entry(void)
3030
{
31-
const git_mailmap_entry* entry;
31+
const git_mailmap_entry *entry;
3232

3333
cl_assert(git_mailmap_entry_count(mailmap) == 4);
3434

@@ -43,7 +43,7 @@ void test_mailmap_basic__entry(void)
4343

4444
void test_mailmap_basic__lookup_not_found(void)
4545
{
46-
const git_mailmap_entry* entry = git_mailmap_entry_lookup(
46+
const git_mailmap_entry *entry = git_mailmap_entry_lookup(
4747
mailmap,
4848
"Whoever",
4949
"doesnotexist@fo.com");
@@ -52,7 +52,7 @@ void test_mailmap_basic__lookup_not_found(void)
5252

5353
void test_mailmap_basic__lookup(void)
5454
{
55-
const git_mailmap_entry* entry = git_mailmap_entry_lookup(
55+
const git_mailmap_entry *entry = git_mailmap_entry_lookup(
5656
mailmap,
5757
"Typoed the name once",
5858
"foo@baz.com");
@@ -62,8 +62,8 @@ void test_mailmap_basic__lookup(void)
6262

6363
void test_mailmap_basic__empty_email_query(void)
6464
{
65-
const char* name;
66-
const char* email;
65+
const char *name;
66+
const char *email;
6767
git_mailmap_resolve(
6868
&name,
6969
&email,
@@ -76,8 +76,8 @@ void test_mailmap_basic__empty_email_query(void)
7676

7777
void test_mailmap_basic__name_matching(void)
7878
{
79-
const char* name;
80-
const char* email;
79+
const char *name;
80+
const char *email;
8181
git_mailmap_resolve(
8282
&name,
8383
&email,

0 commit comments

Comments
 (0)