summaryrefslogtreecommitdiff
path: root/src/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tree.c')
-rw-r--r--src/tree.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/tree.c b/src/tree.c
index 8e370667d..d993d549a 100644
--- a/src/tree.c
+++ b/src/tree.c
@@ -426,7 +426,6 @@ static git_tree_entry *treebuilder_get(git_treebuilder *bld, const char *filenam
if (build_ksearch(&ksearch, filename) < GIT_SUCCESS)
return NULL;
- sort_entries(bld);
idx = git_vector_bsearch2(&bld->entries, entry_search_cmp, &ksearch);
if (idx == GIT_ENOTFOUND)
return NULL;