Skip to content
Snippets Groups Projects

Correctly find last known blob for file deleted in MR.

Merged Douwe Maan requested to merge merge-request-deleted-file into master

Fixes #3092 (closed).

When building a new MR, @merge_request.commits.last would fail because this delegates to merge_request_diff which is still nil at that point. I fixed that, and changed some of the logic because showing deleted blob contents didn't previously work for the Compare page, and the UI would show the wrong commit sha for "View File @...".

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading