diff options
author | Vicent Marti <tanoku@gmail.com> | 2011-06-01 21:25:56 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2011-06-01 23:40:42 +0200 |
commit | d0323a5f63219428aada1c36dfa8a712a695d778 (patch) | |
tree | 083060c6939efdd009140dceed8c53d32410d6cc /include/git2/odb.h | |
parent | aea8a638f2593153b397a12d07c0751727e720f1 (diff) | |
download | libgit2-d0323a5f63219428aada1c36dfa8a712a695d778.tar.gz |
short-oid: Cleanup
Diffstat (limited to 'include/git2/odb.h')
-rw-r--r-- | include/git2/odb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/odb.h b/include/git2/odb.h index 6c08ade54..42961463c 100644 --- a/include/git2/odb.h +++ b/include/git2/odb.h @@ -154,7 +154,7 @@ GIT_EXTERN(int) git_odb_read(git_odb_object **out, git_odb *db, const git_oid *i * - GIT_ENOTFOUND if the object is not in the database. * - GIT_EAMBIGUOUS if the prefix is ambiguous (several objects match the prefix) */ -GIT_EXTERN(int) git_odb_read_unique_short_oid(git_oid *out_oid, git_odb_object **out, git_odb *db, const git_oid *short_id, unsigned int len); +GIT_EXTERN(int) git_odb_read_prefix(git_odb_object **out, git_odb *db, const git_oid *short_id, unsigned int len); /** * Read the header of an object from the database, without |