Commit e8a4dc70 authored by Stan Hu's avatar Stan Hu

Merge branch '48-regression-in-v3-1-0-vs-v3-0-0' into 'master'

Add an error message when using shell commands with incompatible GitLab versions

Closes #48

See merge request !70
parents dd6eed16 55df77e7
Pipeline #1093 skipped
v3.2.0
- Allow GitLab Shell to check for allowed access based on the used Git protocol
- Add an error message when using shell commands with incompatible GitLab versions
v3.1.0
- Refactor repository paths handling to allow multiple git mount points
......
......@@ -182,6 +182,7 @@ class GitlabShell
private
def repo_path=(repo_path)
raise ArgumentError, "Repository path not provided. Please make sure you're using GitLab v8.10 or later." unless repo_path
raise InvalidRepositoryPathError if File.absolute_path(repo_path) != repo_path
@repo_path = repo_path
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment