gitlab-org--gitlab-foss/app/views/projects
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
..
blame
blob
branches
commit
commits
compare
deploy_keys
diffs
forks
graphs
hooks
imports
issues
labels
merge_requests Merge branch 'show-aside' of https://github.com/Soullivaneuh/gitlabhq into Soullivaneuh-show-aside 2015-04-30 19:40:05 +03:00
milestones
network
notes
project_members
protected_branches
refs
repositories
services Move service template and project service settings into a shared view 2015-04-29 07:52:27 -07:00
snippets
tags
tree
wikis
_bitbucket_import_modal.html.haml
_commit_button.html.haml
_dropdown.html.haml
_errors.html.haml
_github_import_modal.html.haml
_gitlab_import_modal.html.haml
_home_panel.html.haml
_issuable_form.html.haml
_md_preview.html.haml
_settings_nav.html.haml
_zen.html.haml
edit.html.haml
empty.html.haml
go_import.html.haml
new.html.haml
no_repo.html.haml
show.atom.builder
show.html.haml
transfer.js.haml
update.js.haml