summaryrefslogtreecommitdiff
path: root/include/git2/tree.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2011-10-20 02:35:19 +0200
committerVicent Marti <tanoku@gmail.com>2011-10-20 02:40:14 +0200
commit28c1451a7c863cb89d598c03d53c4e73497e4c83 (patch)
tree777ef2eab3783bd1c314e2fb789e82b8dc7c98ce /include/git2/tree.h
parent8cf2de078def3820a3a3208496ba705df28aad15 (diff)
downloadlibgit2-28c1451a7c863cb89d598c03d53c4e73497e4c83.tar.gz
tree: Fix name lookups once and for all
Double-pass binary search. Jeez.
Diffstat (limited to 'include/git2/tree.h')
-rw-r--r--include/git2/tree.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/git2/tree.h b/include/git2/tree.h
index e30595016..8d638f723 100644
--- a/include/git2/tree.h
+++ b/include/git2/tree.h
@@ -88,9 +88,6 @@ GIT_EXTERN(unsigned int) git_tree_entrycount(git_tree *tree);
/**
* Lookup a tree entry by its filename
*
- * Note that if the entry in the tree is a folder instead of
- * a standard file, the given name must be ended with a slash.
- *
* @param tree a previously loaded tree.
* @param filename the filename of the desired entry
* @return the tree entry; NULL if not found
@@ -206,9 +203,6 @@ GIT_EXTERN(void) git_treebuilder_free(git_treebuilder *bld);
/**
* Get an entry from the builder from its filename
*
- * Note that if the entry in the tree is a folder instead of
- * a standard file, the given name must be ended with a slash.
- *
* The returned entry is owned by the builder and should
* not be freed manually.
*