diff options
-rw-r--r-- | CHANGELOG | 1 | ||||
-rw-r--r-- | lib/gitlab_shell.rb | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -1,5 +1,6 @@ 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 diff --git a/lib/gitlab_shell.rb b/lib/gitlab_shell.rb index d9812ce..b6c358e 100644 --- a/lib/gitlab_shell.rb +++ b/lib/gitlab_shell.rb @@ -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 |