summaryrefslogtreecommitdiff
path: root/lib/api/api.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-10-20 16:24:01 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-10-20 16:24:01 +0000
commitf16bfa401f4f2acc11ff089df8ba0bb092df416a (patch)
tree635eb1ac3c56861eb2bfb8e3a170c915f24e883e /lib/api/api.rb
parentd01fb5d81bff09d4a41d5f4c530cd3af2c70c13c (diff)
parent8710739e4e5d12ac9e2aa88a553cc1e02dc2b2d1 (diff)
downloadgitlab-ce-f16bfa401f4f2acc11ff089df8ba0bb092df416a.tar.gz
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
Diffstat (limited to 'lib/api/api.rb')
0 files changed, 0 insertions, 0 deletions