summaryrefslogtreecommitdiff
path: root/src/oid.c
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 /src/oid.c
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 'src/oid.c')
-rw-r--r--src/oid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/oid.c b/src/oid.c
index a1f010927..34860138d 100644
--- a/src/oid.c
+++ b/src/oid.c
@@ -88,7 +88,7 @@ char *git_oid_allocfmt(const git_oid *oid)
return str;
}
-char *git_oid_to_string(char *out, size_t n, const git_oid *oid)
+char *git_oid_tostr(char *out, size_t n, const git_oid *oid)
{
char str[GIT_OID_HEXSZ];