Commit 3d7617e49e22053e3a34061fc6f109d27c67d1d2

Michael Schubert 2012-09-14T21:33:50

odb_pack: fix race condition last_found is the last packfile a wanted object was found in. Since last_found is shared among all searching threads, it might changes while we're searching. As suggested by @arrbee, put a copy on the stack to fix the race condition.