• Patrick Bajao's avatar
    Sort commit/compare diff files directory first · d7fc41a8
    Patrick Bajao authored
    When viewing merge request changes while ignoring whitespace
    changes or viewing changes for a specific commit in a merge
    request, they need to be sorted by directory first.
    
    This is to make diffs and each file browser entries consistent
    to prevent confusion.
    
    This uses the same logic we use for sorting merge request diff
    files so that was extracted into its own class.
    d7fc41a8
commit_spec.rb 2.02 KB