summaryrefslogtreecommitdiff
path: root/include/git2/refs.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2011-03-29 19:22:21 +0300
committerVicent Marti <tanoku@gmail.com>2011-03-29 19:58:19 +0300
commit95cde17ca40de7ad7f245c9302f26c5d59f5d873 (patch)
tree78036043532998d6b10838b3e471ea6e5f7b96a9 /include/git2/refs.h
parentfc1eeb9dfce7d63141a5b88c62c602e6d0b86cf5 (diff)
downloadlibgit2-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.h6
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