Skip to content
Snippets Groups Projects
Commit 55df77e7 authored by Alejandro Rodríguez's avatar Alejandro Rodríguez
Browse files

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

parent dd6eed16
No related branches found
No related tags found
1 merge request!70Add an error message when using shell commands with incompatible GitLab versions
Pipeline #
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
Loading
Loading
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment