gitlab-org--gitlab-foss/app
Dmitriy Zaporozhets f16bfa401f Merge branch 'merge-request-deleted-file' into 'master'
Correctly find last known blob for file deleted in MR.

Fixes #3092.

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 @...".

See merge request !1647
2015-10-20 16:24:01 +00:00
..
assets Merge branch 'fix-code-leading-indent' into 'master' 2015-10-19 10:28:21 +00:00
controllers Merge branch 'merge-request-deleted-file' into 'master' 2015-10-20 16:24:01 +00:00
finders Rename confusing methods 2015-10-19 11:46:22 +02:00
helpers Correctly find last known blob for file deleted in MR. 2015-10-20 14:24:02 +02:00
mailers Only pass abuse report ID to AbuseReportMailer. 2015-10-18 11:58:45 +02:00
models Merge branch 'merge-request-deleted-file' into 'master' 2015-10-20 16:24:01 +00:00
services Merge branch 'close-issues-by-mr' into 'master' 2015-10-19 09:31:11 +00:00
uploaders Fix: Images cannot show when projects' path was changed 2015-10-14 18:50:35 +03:00
views Merge branch 'merge-request-deleted-file' into 'master' 2015-10-20 16:24:01 +00:00
workers Rename reply_by_email to incoming_email to prepare for the future. 2015-09-21 10:35:37 +02:00