summaryrefslogtreecommitdiff
path: root/tests/diff/binary.c
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2014-04-14 12:29:27 -0700
committerRussell Belfer <rb@github.com>2014-04-17 14:56:41 -0700
commitea642d61f9b3dd3d9e1670621198483541cf4f0d (patch)
tree82821f124566c93a73ba02768e168ccf60cdb4ad /tests/diff/binary.c
parent2e9d813bd69ab014b970a75b5a4f7d24f241cc05 (diff)
downloadlibgit2-ea642d61f9b3dd3d9e1670621198483541cf4f0d.tar.gz
Fix race checking for existing index items
In the threading tests, I was still seeing a race condition where the same item could end up being inserted multiple times into the index. Preserving the sorted-ness of the index outside of the `index_insert` call fixes the issue.
Diffstat (limited to 'tests/diff/binary.c')
0 files changed, 0 insertions, 0 deletions