diff options
author | Russell Belfer <rb@github.com> | 2013-05-02 03:34:56 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-05-02 03:34:56 -0700 |
commit | 8c535f3f6879c6796d8107d7eb80dd8b2105621b (patch) | |
tree | 5e89567f8d5121113bd0ec34777d8d8fdac98c95 /src/commit.c | |
parent | 81b7dec4ee21454775f932717273a90a46f78e1f (diff) | |
download | libgit2-8c535f3f6879c6796d8107d7eb80dd8b2105621b.tar.gz |
Protect sha1_entry_pos call with mutex
There is an occasional assertion failure in sha1_entry_pos from
pack_entry_find_index when running threaded. Holding the mutex
around the code that grabs the index_map data and processes it
makes this assertion failure go away.
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions