summaryrefslogtreecommitdiff
path: root/src/errors.c
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2011-02-05 09:11:17 +0200
committerVicent Marti <tanoku@gmail.com>2011-02-05 09:11:17 +0200
commit4569bfa55a44be3a03cf925df44bf1af0f21ddaa (patch)
treea3eb7ca3f6b2ebc201c2bb453b4d24d99f0d2221 /src/errors.c
parent5d773a6ee8542a5eaf94c34efcd27124c78e0bc7 (diff)
downloadlibgit2-4569bfa55a44be3a03cf925df44bf1af0f21ddaa.tar.gz
Keep the tree entries always internally sorted
Don't allow access to any tree entries whilst the entries array is unsorted. We keep track on when the array is unsorted, and any methods that access the array while it is unsorted now sort the array before accessing it. Signed-off-by: Vicent Marti <tanoku@gmail.com>
Diffstat (limited to 'src/errors.c')
0 files changed, 0 insertions, 0 deletions