diff options
| author | Vicent Marti <tanoku@gmail.com> | 2011-03-29 19:22:21 +0300 |
|---|---|---|
| committer | Vicent Marti <tanoku@gmail.com> | 2011-03-29 19:58:19 +0300 |
| commit | 95cde17ca40de7ad7f245c9302f26c5d59f5d873 (patch) | |
| tree | 78036043532998d6b10838b3e471ea6e5f7b96a9 /include/git2/refs.h | |
| parent | fc1eeb9dfce7d63141a5b88c62c602e6d0b86cf5 (diff) | |
| download | libgit2-95cde17ca40de7ad7f245c9302f26c5d59f5d873.tar.gz | |
Enforce coding conventions in refs.c
Internal methods are static and without the git prefix.
'Force' methods have a `_f` prefix to match the other 'force' methods.
Diffstat (limited to 'include/git2/refs.h')
| -rw-r--r-- | include/git2/refs.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/git2/refs.h b/include/git2/refs.h index 328a9f1f6..298c66d51 100644 --- a/include/git2/refs.h +++ b/include/git2/refs.h @@ -87,7 +87,7 @@ GIT_EXTERN(int) git_reference_create_symbolic(git_reference **ref_out, git_repos * @param target The target of the reference * @return 0 on success; error code otherwise */ -GIT_EXTERN(int) git_reference_create_symbolic_force(git_reference **ref_out, git_repository *repo, const char *name, const char *target); +GIT_EXTERN(int) git_reference_create_symbolic_f(git_reference **ref_out, git_repository *repo, const char *name, const char *target); /** * Create a new object id reference. @@ -125,7 +125,7 @@ GIT_EXTERN(int) git_reference_create_oid(git_reference **ref_out, git_repository * @param id The object id pointed to by the reference. * @return 0 on success; error code otherwise */ -GIT_EXTERN(int) git_reference_create_oid_force(git_reference **ref_out, git_repository *repo, const char *name, const git_oid *id); +GIT_EXTERN(int) git_reference_create_oid_f(git_reference **ref_out, git_repository *repo, const char *name, const git_oid *id); /** * Get the OID pointed to by a reference. @@ -243,7 +243,7 @@ GIT_EXTERN(int) git_reference_rename(git_reference *ref, const char *new_name); * and on disk. * */ -GIT_EXTERN(int) git_reference_rename_force(git_reference *ref, const char *new_name); +GIT_EXTERN(int) git_reference_rename_f(git_reference *ref, const char *new_name); /** * Delete an existing reference |
