gitlab-org--gitlab-foss/app
Dmitriy Zaporozhets 6d22e96744 Merge branch 'fix-submodule-error-with-forked-project' into 'master'
Fix "Revspec not found" errors when viewing diffs in a forked project with submodules

## What does this MR do?

This MR fixes an error that occurs when viewing diffs in a forked project with submodules.

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

Testing this code was tricky. The only way this problem shows up is if the origin project does NOT have the submodule update commit. The introduction of gitlab-test-fork serves that purpose: it contains a submodule update not present in gitlab-test.

### Why was this MR needed?

A user would receive a 500 error when trying to view a merge request with a submodule update. #1413 has details on how to reproduce this issue.

### What are the relevant issue numbers / [Feature requests](http://feedback.gitlab.com/)?

#1413

See merge request !512
2015-04-30 16:47:35 +00:00
..
assets Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq 2015-04-30 19:36:45 +03:00
controllers Don't allow a merge request to be merged when its title starts with "WIP". 2015-04-30 15:46:36 +02:00
finders Fix tests and unassigned filter for issues. Updated CHANGELOG 2015-03-27 00:27:51 -07:00
helpers Merge branch 'fix-submodule-error-with-forked-project' into 'master' 2015-04-30 16:47:35 +00:00
mailers Remove duplicate settings for default_url_options 2015-04-25 19:46:04 -04:00
models Don't allow a merge request to be merged when its title starts with "WIP". 2015-04-30 15:46:36 +02:00
services Revert "Added X-GitLab-Event header for web hooks" 2015-04-27 16:29:31 +03:00
uploaders Fix URL to uploaded file. 2015-02-20 16:01:37 +01:00
views Merge branch 'fix-submodule-error-with-forked-project' into 'master' 2015-04-30 16:47:35 +00:00
workers Revert "Added X-GitLab-Event header for web hooks" 2015-04-27 16:29:31 +03:00