Commit 649214be4bd9d8239787e3af7e6d877955d09e11

Carlos Martín Nieto 2014-05-15T19:59:05

pack: init the cache on packfile alloc When running multithreaded, it is not enough to check for the offmap allocation. Move the call to cache_init() to packfile allocation so we can be sure it is always allocated free of races. This fixes #2355.