diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-09-25 09:33:51 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-09-25 09:33:51 +0300 |
commit | a3b54457b1cd188981d4d0775fc7acf2fd6aa128 (patch) | |
tree | 46b7f5ed27bbd1879a0d4110502d6dd895056d29 | |
parent | 67eb0c4d61a8dd843be42d9fff4049b696c4ea42 (diff) | |
download | gitlab-shell-a3b54457b1cd188981d4d0775fc7acf2fd6aa128.tar.gz |
Fix bug when changes to post-receive worker was not dumped properlyv2.0.1
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r-- | CHANGELOG | 3 | ||||
-rw-r--r-- | VERSION | 2 | ||||
-rw-r--r-- | lib/gitlab_post_receive.rb | 2 |
3 files changed, 5 insertions, 2 deletions
@@ -1,3 +1,6 @@ +v2.0.1 + - Send post-receive changes to redis as a string instead of array + v2.0.0 - Works with GitLab v7.3+ - Replace raise with abort when checking path to prevent path exposure @@ -1 +1 @@ -2.0.0 +2.0.1 diff --git a/lib/gitlab_post_receive.rb b/lib/gitlab_post_receive.rb index 3f9f384..bd80408 100644 --- a/lib/gitlab_post_receive.rb +++ b/lib/gitlab_post_receive.rb @@ -7,7 +7,7 @@ class GitlabPostReceive def initialize(repo_path, actor, changes) @config = GitlabConfig.new @repo_path, @actor = repo_path.strip, actor - @changes = changes.lines + @changes = changes end def exec |