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/object.h | |
parent | aea8a638f2593153b397a12d07c0751727e720f1 (diff) | |
download | libgit2-d0323a5f63219428aada1c36dfa8a712a695d778.tar.gz |
short-oid: Cleanup
Diffstat (limited to 'include/git2/object.h')
-rw-r--r-- | include/git2/object.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/include/git2/object.h b/include/git2/object.h index cadb942e0..83d37a263 100644 --- a/include/git2/object.h +++ b/include/git2/object.h @@ -56,7 +56,11 @@ GIT_BEGIN_DECL * @param type the type of the object * @return a reference to the object */ -GIT_EXTERN(int) git_object_lookup(git_object **object, git_repository *repo, const git_oid *id, git_otype type); +GIT_EXTERN(int) git_object_lookup( + git_object **object, + git_repository *repo, + const git_oid *id, + git_otype type); /** * Lookup a reference to one of the objects in a repostory, @@ -85,8 +89,12 @@ GIT_EXTERN(int) git_object_lookup(git_object **object, git_repository *repo, con * @param type the type of the object * @return a reference to the object */ -GIT_EXTERN(int) git_object_lookup_short_oid(git_object **object_out, git_repository *repo, - const git_oid *id, unsigned int len, git_otype type); +GIT_EXTERN(int) git_object_lookup_prefix( + git_object **object_out, + git_repository *repo, + const git_oid *id, + unsigned int len, + git_otype type); /** * Get the id (SHA1) of a repository object |