summaryrefslogtreecommitdiff
path: root/include/git2/oid.h
diff options
context:
space:
mode:
authorAuthmillenon <martin@ucsmail.de>2012-03-06 17:51:04 +0100
committerAuthmillenon <martin@ucsmail.de>2012-03-06 17:51:04 +0100
commit5621d8097d48aac3ff5744c4d74115139db30a43 (patch)
treef7e044e844d9860195b5e2af6df044905947a37a /include/git2/oid.h
parent864ac49e317dc8dfd683a1017c05584bd7a8864c (diff)
downloadlibgit2-5621d8097d48aac3ff5744c4d74115139db30a43.tar.gz
Rename git_oid_to_string to git_oid_tostr
To conform the naming scheme of git_oid_fromstr we should change the name of git_oid_to_string to git_oid_tostr.
Diffstat (limited to 'include/git2/oid.h')
-rw-r--r--include/git2/oid.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/oid.h b/include/git2/oid.h
index 712ecb2bb..566d13ac1 100644
--- a/include/git2/oid.h
+++ b/include/git2/oid.h
@@ -119,7 +119,7 @@ GIT_EXTERN(char *) git_oid_allocfmt(const git_oid *oid);
* @return the out buffer pointer, assuming no input parameter
* errors, otherwise a pointer to an empty string.
*/
-GIT_EXTERN(char *) git_oid_to_string(char *out, size_t n, const git_oid *oid);
+GIT_EXTERN(char *) git_oid_tostr(char *out, size_t n, const git_oid *oid);
/**
* Copy an oid from one structure to another.