Commit d884d1c41701fa1c6c9057632787184cd18448e5

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.