• Patrick Bajao's avatar
    Fix showing diff when it has legacy diff notes · 6a79e237
    Patrick Bajao authored
    Do not try to unfold `LegacyDiffNote`s as they don't support
    `position` even though they're in the same `notes` table as
    `DiffNote`s.
    
    This is done by using `Gitlab::Diff::PositionCollection` which
    will be responsible for filtering the positions.
    6a79e237
position_collection_spec.rb 2.39 KB