gitlab-org--gitlab-foss/spec
Robert Speicher 0a9f9c10e4 Merge branch '22229-use-base-sha-when-downloading-merge-requests' into 'master'
Use base SHA for patches and diffs

## What does this MR do?

Switch from using 'start SHA' to 'base SHA' for patches and diffs

## Are there points in the code the reviewer needs to double check?

## Why was this MR needed?

Makes the downloaded patches and diffs on the merge request page match the frontend-rendered "changes" in these scenarios:

* Unpatched gitlab-workhorse, downloading patchsets of open MRs (https://gitlab.com/gitlab-org/gitlab-workhorse/merge_requests/68)
* Unpatched gitlab-workhorse, downloading diffs of open and merged MRs
* Patched gitlab-workhorse, downloading patchsets of merged merge requests

## What are the relevant issue numbers?

Closes #22229

See merge request !6435
2016-09-25 10:30:37 +00:00
..
config
controllers Merge branch 'and-you-get-awards' into 'master' 2016-09-21 15:22:28 +00:00
factories Merge branch 'gitlab-ce-milestone-tab-badges' into 'master' 2016-09-24 10:49:45 +00:00
features Merge branch 'search-filters-label-fix' into 'master' 2016-09-23 03:18:23 +00:00
finders fix issues mr counter 2016-09-20 14:39:15 +01:00
fixtures Returns the total number of issues in the JSON response 2016-08-31 09:30:37 +01:00
helpers Merge branch 'gitlab-ce-milestone-tab-badges' into 'master' 2016-09-24 10:49:45 +00:00
initializers
javascripts Merge branch 'add-remember-option-u2f' into 'master' 2016-09-09 18:42:11 +00:00
lib Merge branch '22229-use-base-sha-when-downloading-merge-requests' into 'master' 2016-09-25 10:30:37 +00:00
mailers Fix "Unsubscribe" link in notification emails that is triggered by anti-virus 2016-09-20 09:52:57 +02:00
models Ensure milestones passed to GlobalMilestone is an ActiveRecord::Relation 2016-09-23 13:34:39 +02:00
policies Test if issue authors can access private projects 2016-09-20 14:57:23 -03:00
requests API: Return 404 when trying to fork to unaccessible namespace 2016-09-22 12:15:45 +02:00
routing Fix markdown help references 2016-08-26 09:38:21 -05:00
services Merge branch '21170-cycle-analytics' into 'master' 2016-09-21 05:05:02 +00:00
support Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce 2016-09-21 12:22:02 +03:00
tasks/gitlab
uploaders
views Scope environments to project 2016-09-21 13:19:34 +02:00
workers Added cron to prune events older than 12 months. 2016-09-07 19:41:25 +02:00
factories_spec.rb
rails_helper.rb
simplecov_env.rb Bump SimpleCov merge timeout to 365 days 2016-08-22 13:44:14 +02:00
spec_helper.rb Merge remote-tracking branch 'upstream/master' into artifacts-from-ref-and-build-name 2016-08-24 20:56:30 +08:00
teaspoon_env.rb