gitlab-org--gitlab-foss/app/controllers/projects
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
..
application_controller.rb Move CI project settings page to CE project settings area 2015-09-29 16:07:44 +02:00
avatars_controller.rb Only render 404 page from /public 2015-10-13 20:12:34 +03:00
blame_controller.rb Fix blame view line groupings 2015-08-20 01:27:29 -07:00
blob_controller.rb Only render 404 page from /public 2015-10-13 20:12:34 +03:00
branches_controller.rb Fix errors deleting and creating branches with encoded slashes 2015-08-01 23:33:33 -07:00
builds_controller.rb Fix builds view count indicator 2015-10-15 15:50:40 +02:00
ci_services_controller.rb Redirect to a default path if HTTP_REFERER is not set 2015-10-20 07:45:48 -07:00
ci_settings_controller.rb Move CI project settings page to CE project settings area 2015-09-29 16:07:44 +02:00
ci_web_hooks_controller.rb Redirect to a default path if HTTP_REFERER is not set 2015-10-20 07:45:48 -07:00
commit_controller.rb Fix tests and few CI features 2015-10-07 17:54:49 +02:00
commits_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00
compare_controller.rb Correctly find last known blob for file deleted in MR. 2015-10-20 14:24:02 +02:00
deploy_keys_controller.rb Redirect to a default path if HTTP_REFERER is not set 2015-10-20 07:45:48 -07:00
forks_controller.rb Import forked repositories asynchronously to prevent large repositories from timing out 2015-09-11 00:34:04 -07:00
graphs_controller.rb Check for CI enabled in correct place 2015-09-24 09:47:52 +02:00
hooks_controller.rb Redirect to a default path if HTTP_REFERER is not set 2015-10-20 07:45:48 -07:00
imports_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00
issues_controller.rb Redirect to a default path if HTTP_REFERER is not set 2015-10-20 07:45:48 -07:00
labels_controller.rb Fix 403 Access Denied error messages when accessing Labels section in a project that has MRs disabled but issues enabled 2015-06-18 03:15:05 -07:00
merge_requests_controller.rb Correctly find last known blob for file deleted in MR. 2015-10-20 14:24:02 +02:00
milestones_controller.rb Improve performance of sorting milestone issues 2015-10-19 11:37:14 +02:00
network_controller.rb Fix network graph when branch name has single quotes 2015-07-29 23:29:47 -07:00
notes_controller.rb Redirect to a default path if HTTP_REFERER is not set 2015-10-20 07:45:48 -07:00
project_members_controller.rb Redirect to a default path if HTTP_REFERER is not set 2015-10-20 07:45:48 -07:00
protected_branches_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00
raw_controller.rb Only render 404 page from /public 2015-10-13 20:12:34 +03:00
refs_controller.rb Fix error preventing displaying of commit data for a directory with a leading dot 2015-10-12 22:24:19 -07:00
repositories_controller.rb Let gitlab-git-http-server handle archive downloads 2015-10-08 17:12:00 +02:00
runners_controller.rb Show warning if build doesn't have runners with specified tags or runners didn't connect recently 2015-10-14 17:29:18 +02:00
services_controller.rb Redirect to a default path if HTTP_REFERER is not set 2015-10-20 07:45:48 -07:00
snippets_controller.rb Fix 500 error when try to create project snippet without content 2015-08-26 23:59:52 +02:00
tags_controller.rb Fixed the Rails/ActionFilter cop 2015-04-20 15:39:37 +02:00
tree_controller.rb Only render 404 page from /public 2015-10-13 20:12:34 +03:00
triggers_controller.rb Move CI triggers page to project settings area 2015-09-29 10:37:31 +02:00
uploads_controller.rb Only render 404 page from /public 2015-10-13 20:12:34 +03:00
variables_controller.rb Move CI variables page to project settings 2015-09-28 17:19:20 +02:00
wikis_controller.rb Fix rubocop warnings in app 2015-10-03 00:56:37 -05:00