• Robert Speicher's avatar
    Merge branch 'issues-show-performance' into 'master' · ffc3acd4
    Robert Speicher authored
    Improve performance of viewing individual issues
    
    This MR does two things:
    
    1. `Issue#related_branches` no longer performs Git operations that aren't needed
    2. 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).
    
    See merge request !3296
    ffc3acd4
issue_spec.rb 5.85 KB