summaryrefslogtreecommitdiff
path: root/src/reflog.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/reflog.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/reflog.c')
-rw-r--r--src/reflog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reflog.c b/src/reflog.c
index 6ca9418cf..e8b0b9811 100644
--- a/src/reflog.c
+++ b/src/reflog.c
@@ -237,7 +237,7 @@ int git_reflog_write(git_reference *ref, const git_oid *oid_old,
return error;
}
- git_oid_to_string(new, GIT_OID_HEXSZ+1, oid);
+ git_oid_tostr(new, GIT_OID_HEXSZ+1, oid);
git_reference_free(r);
@@ -263,7 +263,7 @@ int git_reflog_write(git_reference *ref, const git_oid *oid_old,
goto cleanup;
if (oid_old)
- git_oid_to_string(old, sizeof(old), oid_old);
+ git_oid_tostr(old, sizeof(old), oid_old);
else
p_snprintf(old, sizeof(old), "%0*d", GIT_OID_HEXSZ, 0);