summaryrefslogtreecommitdiff
path: root/include/git2/odb.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2011-06-01 21:25:56 +0200
committerVicent Marti <tanoku@gmail.com>2011-06-01 23:40:42 +0200
commitd0323a5f63219428aada1c36dfa8a712a695d778 (patch)
tree083060c6939efdd009140dceed8c53d32410d6cc /include/git2/odb.h
parentaea8a638f2593153b397a12d07c0751727e720f1 (diff)
downloadlibgit2-d0323a5f63219428aada1c36dfa8a712a695d778.tar.gz
short-oid: Cleanup
Diffstat (limited to 'include/git2/odb.h')
-rw-r--r--include/git2/odb.h2
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