]> git.proxmox.com Git - libgit2.git/commit - src/libgit2/tree.c
tree: drop the now-unnecessary entries vector
authorEdward Thomson <ethomson@github.com>
Tue, 22 Mar 2016 04:18:44 +0000 (00:18 -0400)
committerEdward Thomson <ethomson@github.com>
Tue, 22 Mar 2016 13:21:13 +0000 (06:21 -0700)
commite2e4bae9a091152166773fb5681f2b3acb18b43b
tree08675b516edbab7506697e96e599cb79c7ff8e1d
parent7adca53ed653802663096b8c2977a03dbe39c601
tree: drop the now-unnecessary entries vector

Remove the now-unnecessary entries vector.  Add `git_array_search`
to binary search through an array to accomplish this.
src/array.h
src/tree.c
src/tree.h
tests/core/array.c [new file with mode: 0644]