diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2014-01-24 18:23:46 +0100 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2014-01-25 08:15:44 +0100 |
commit | f000ee4e5b840e9f110123a050777fb1301b19bf (patch) | |
tree | 9a575e0f141d26338a1feb1bd9be3e942f737381 /include/git2/tree.h | |
parent | 47e28349bc4874114e2cfce0b91c40938b105b25 (diff) | |
download | libgit2-f000ee4e5b840e9f110123a050777fb1301b19bf.tar.gz |
tree: remove legacy 'oid' naming
Rename git_tree_entry_byoid() to _byid() as per the convention.
Diffstat (limited to 'include/git2/tree.h')
-rw-r--r-- | include/git2/tree.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/git2/tree.h b/include/git2/tree.h index 6350ada9b..6669652ae 100644 --- a/include/git2/tree.h +++ b/include/git2/tree.h @@ -121,11 +121,11 @@ GIT_EXTERN(const git_tree_entry *) git_tree_entry_byindex( * Warning: this must examine every entry in the tree, so it is not fast. * * @param tree a previously loaded tree. - * @param oid the sha being looked for + * @param id the sha being looked for * @return the tree entry; NULL if not found */ -GIT_EXTERN(const git_tree_entry *) git_tree_entry_byoid( - const git_tree *tree, const git_oid *oid); +GIT_EXTERN(const git_tree_entry *) git_tree_entry_byid( + const git_tree *tree, const git_oid *id); /** * Retrieve a tree entry contained in a tree or in any of its subtrees, |