diff options
| author | Russell Belfer <rb@github.com> | 2014-04-14 12:29:27 -0700 |
|---|---|---|
| committer | Russell Belfer <rb@github.com> | 2014-04-17 14:56:41 -0700 |
| commit | ea642d61f9b3dd3d9e1670621198483541cf4f0d (patch) | |
| tree | 82821f124566c93a73ba02768e168ccf60cdb4ad /src/diff.c | |
| parent | 2e9d813bd69ab014b970a75b5a4f7d24f241cc05 (diff) | |
| download | libgit2-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 'src/diff.c')
0 files changed, 0 insertions, 0 deletions
