Commit 8588cb0cbfadcd66061062bd0ab170a1419e006f

Jason Haslam 2015-02-14T23:43:26

Fix race in git_packfile_unpack. Increment refcount of newly added cache entries just like existing entries looked up from the cache. Otherwise the new entry can be evicted from the cache and destroyed while it's still in use.