summaryrefslogtreecommitdiff
path: root/include/git2/tree.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2012-06-29 17:08:36 +0200
committerVicent Marti <tanoku@gmail.com>2012-06-29 17:08:36 +0200
commit46ea40d9955a171187d252872f5c9bac1da7e286 (patch)
tree954df8e226983707c9a079129903bf7854832131 /include/git2/tree.h
parent7e8c146c6b78fe5b9d26f059e381b978260984f4 (diff)
downloadlibgit2-tree-entry-by-path.tar.gz
tree: Rename `entry_copy` to `entry_dup`tree-entry-by-path
Diffstat (limited to 'include/git2/tree.h')
-rw-r--r--include/git2/tree.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/tree.h b/include/git2/tree.h
index 107c771c4..f12b15e2e 100644
--- a/include/git2/tree.h
+++ b/include/git2/tree.h
@@ -76,7 +76,7 @@ GIT_INLINE(void) git_tree_free(git_tree *tree)
*
* IMPORTANT: This function is only needed for tree
* entries owned by the user, such as the ones returned
- * by `git_tree_entry_copy`.
+ * by `git_tree_entry_dup`.
*
* @param entry The entry to free
*/
@@ -92,7 +92,7 @@ GIT_EXTERN(void) git_tree_entry_free(git_tree_entry *entry);
* @param entry A tree entry to duplicate
* @return a copy of the original entry
*/
-GIT_EXTERN(git_tree_entry *) git_tree_entry_copy(const git_tree_entry *entry);
+GIT_EXTERN(git_tree_entry *) git_tree_entry_dup(const git_tree_entry *entry);
/**
* Get the id of a tree.