diff options
| author | punkymaniac <punkymaniac@protonmail.ch> | 2021-09-09 19:49:04 +0200 |
|---|---|---|
| committer | punkymaniac <punkymaniac@protonmail.ch> | 2021-09-09 19:49:04 +0200 |
| commit | 379c46463cbdd73e04c5efc180309d4600e56624 (patch) | |
| tree | 0c56f001ecceba8a072f896f01bd7750f9c4034d /src/revparse.c | |
| parent | f1b89a201e9329e6df48f8d6cf320781570c936a (diff) | |
| download | libgit2-379c46463cbdd73e04c5efc180309d4600e56624.tar.gz | |
Fix coding style for pointer
Make some syntax change to follow coding style.
Diffstat (limited to 'src/revparse.c')
| -rw-r--r-- | src/revparse.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/revparse.c b/src/revparse.c index b0c312d72..b4d5d4759 100644 --- a/src/revparse.c +++ b/src/revparse.c @@ -14,7 +14,7 @@ #include "git2.h" -static int maybe_sha_or_abbrev(git_object** out, git_repository *repo, const char *spec, size_t speclen) +static int maybe_sha_or_abbrev(git_object **out, git_repository *repo, const char *spec, size_t speclen) { git_oid oid; @@ -24,7 +24,7 @@ static int maybe_sha_or_abbrev(git_object** out, git_repository *repo, const cha return git_object_lookup_prefix(out, repo, &oid, speclen, GIT_OBJECT_ANY); } -static int maybe_sha(git_object** out, git_repository *repo, const char *spec) +static int maybe_sha(git_object **out, git_repository *repo, const char *spec) { size_t speclen = strlen(spec); @@ -34,7 +34,7 @@ static int maybe_sha(git_object** out, git_repository *repo, const char *spec) return maybe_sha_or_abbrev(out, repo, spec, speclen); } -static int maybe_abbrev(git_object** out, git_repository *repo, const char *spec) +static int maybe_abbrev(git_object **out, git_repository *repo, const char *spec) { size_t speclen = strlen(spec); @@ -310,7 +310,7 @@ cleanup: return error; } -static int handle_at_syntax(git_object **out, git_reference **ref, const char *spec, size_t identifier_len, git_repository* repo, const char *curly_braces_content) +static int handle_at_syntax(git_object **out, git_reference **ref, const char *spec, size_t identifier_len, git_repository *repo, const char *curly_braces_content) { bool is_numeric; int parsed = 0, error = -1; |
