diff options
author | Vicent Marti <tanoku@gmail.com> | 2011-02-05 09:11:17 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2011-02-05 09:11:17 +0200 |
commit | 4569bfa55a44be3a03cf925df44bf1af0f21ddaa (patch) | |
tree | a3eb7ca3f6b2ebc201c2bb453b4d24d99f0d2221 /src/errors.c | |
parent | 5d773a6ee8542a5eaf94c34efcd27124c78e0bc7 (diff) | |
download | libgit2-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