Improve performance of viewing individual issues
This MR does two things:
-
Issue#related_branches
no longer performs Git operations that aren't needed - The output of
Repository#exists?
is now cached and flushed properly
Combined these two changes should further cut down the amount of Git operations performed when viewing individual issues (and possibly other pages).