refdb_fs.c
47.6 KB
-
refdb_fs: fail if refcache returns NULL pointer · b27ccad2
We usually check entries returned by `git_sortedcache_entry` for NULL pointers. As we have a write lock in `packed_write`, though, it really should not happen that the function returns NULL. Assert that ref is not NULL to silence a Coverity warning.
Patrick Steinhardt committed