summaryrefslogtreecommitdiff
path: root/include/git2/tree.h
diff options
context:
space:
mode:
authorVicent Martí <tanoku@gmail.com>2012-05-16 19:23:47 +0200
committerVicent Martí <tanoku@gmail.com>2012-05-16 19:24:35 +0200
commit9d0011fd83ff38561e75667451d2b6a55320d7d4 (patch)
treed4e474398f44161e75c80f1cfa4c98a983a92fb4 /include/git2/tree.h
parenteb270884627a87a5392c0aa9c9d286877aba9f91 (diff)
downloadlibgit2-9d0011fd83ff38561e75667451d2b6a55320d7d4.tar.gz
tree: Naming conventions
Diffstat (limited to 'include/git2/tree.h')
-rw-r--r--include/git2/tree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/tree.h b/include/git2/tree.h
index 3a915052..0d9db430 100644
--- a/include/git2/tree.h
+++ b/include/git2/tree.h
@@ -143,7 +143,7 @@ GIT_EXTERN(git_otype) git_tree_entry_type(const git_tree_entry *entry);
* @param entry a tree entry
* @return GIT_SUCCESS or an error code
*/
-GIT_EXTERN(int) git_tree_entry_2object(git_object **object_out, git_repository *repo, const git_tree_entry *entry);
+GIT_EXTERN(int) git_tree_entry_to_object(git_object **object_out, git_repository *repo, const git_tree_entry *entry);
/**
* Write a tree to the ODB from the index file