summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG3
-rw-r--r--VERSION2
-rw-r--r--lib/gitlab_shell.rb2
3 files changed, 5 insertions, 2 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 988879c..f6e0d58 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+v1.7.2
+ - More safe command execution
+
v1.7.1
- Fixed issue when developers are able to push to protected branches that contain a '/' in the branch name.
diff --git a/VERSION b/VERSION
index 943f9cb..f8a696c 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.7.1
+1.7.2
diff --git a/lib/gitlab_shell.rb b/lib/gitlab_shell.rb
index 67ffb26..c73bc29 100644
--- a/lib/gitlab_shell.rb
+++ b/lib/gitlab_shell.rb
@@ -53,7 +53,7 @@ class GitlabShell
def process_cmd
repo_full_path = File.join(repos_path, repo_name)
$logger.info "gitlab-shell: executing git command <#{@git_cmd} #{repo_full_path}> for #{log_username}."
- exec_cmd(@git_cmd,repo_full_path)
+ exec_cmd(@git_cmd, repo_full_path)
end
def validate_access