Fix Gitaly auto-detection caching
If GitalyClient#can_use_disk?
returned false
, it was never cached
properly and led to excessive number of Gitaly calls. Instead of using
cached_value.present?
, we need to check cached_value.nil?
.
Edited by Stan Hu