diff options
author | Vicent Marti <tanoku@gmail.com> | 2011-06-16 02:36:21 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2011-06-16 02:36:21 +0200 |
commit | fa48608ec30758dbf6d0d26d3c4f8efba8efe8e9 (patch) | |
tree | 31e3cc7bedaa6c4d3a8b8d37903991ed811eb02d /src/odb_loose.c | |
parent | 43521d0688c744e98f07f19dd0b15e6b2c763693 (diff) | |
download | libgit2-fa48608ec30758dbf6d0d26d3c4f8efba8efe8e9.tar.gz |
oid: Rename methods
Yeah. Finally. Fuck the old names, this ain't POSIX
and they don't make any sense at all.
Diffstat (limited to 'src/odb_loose.c')
-rw-r--r-- | src/odb_loose.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/odb_loose.c b/src/odb_loose.c index 9564ef05b..006ba9cc8 100644 --- a/src/odb_loose.c +++ b/src/odb_loose.c @@ -546,7 +546,7 @@ static int locate_object_short_oid(char *object_location, git_oid *res_oid, loos } /* Convert obtained hex formatted oid to raw */ - error = git_oid_mkstr(res_oid, (char *)state.res_oid); + error = git_oid_fromstr(res_oid, (char *)state.res_oid); if (error) { return git__rethrow(error, "Failed to locate object from short oid"); } |