Commit graph

5 commits

Author SHA1 Message Date
Paco Guzman
cd7c2cb6dd Cache highlighted diff lines for merge requests
Introducing the concept of SafeDiffs which relates 
diffs with UI highlighting.
2016-08-03 07:00:19 +02:00
Paco Guzman
a404ab380d Collapsed diffs lines/size don't accumulate to overflow diffs. 2016-07-18 14:43:28 -06:00
Sean McGivern
8ee3c28bcd Handle more than two paths in MergeRequest#diffs 2016-07-11 18:17:00 +01:00
Sean McGivern
ea1827c9a4 Make expand_all param more explicit 2016-07-08 13:54:09 +01:00
Sean McGivern
ff55398aaf DRY up diff_for_path actions
1. Move render method to a concern, not a helper.
2. Let DiffHelper#diff_options automatically add the path option.
3. Move more instance var definitions to before filters.
2016-07-08 13:53:51 +01:00