diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-08-13 08:35:47 +0000 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-08-13 08:35:47 +0000 |
commit | 67c5d381a975c065afdfbffd45d88320a61c82ad (patch) | |
tree | 0cbc29085474f2851a404ee08ba53b9174629f11 /app | |
parent | aa3d3451c06dec6974bac4834a7fd3f568bf6b23 (diff) | |
parent | 9f4613bb8696cf15739ce2deb469407c0bbdefee (diff) | |
download | gitlab-ce-67c5d381a975c065afdfbffd45d88320a61c82ad.tar.gz |
Merge branch 'dont-ignore-git-projects' into 'master'
Fix post-receive worker for some projects
If project ends with `-git` or `_git` or any kind of `git` - it get ignored by post-receive worker
See merge request !1018
Diffstat (limited to 'app')
-rw-r--r-- | app/workers/post_receive.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/post_receive.rb b/app/workers/post_receive.rb index 3b0cf77d42e..f110e20bf00 100644 --- a/app/workers/post_receive.rb +++ b/app/workers/post_receive.rb @@ -12,7 +12,7 @@ class PostReceive log("Check gitlab.yml config for correct gitlab_shell.repos_path variable. \"#{Gitlab.config.gitlab_shell.repos_path}\" does not match \"#{repo_path}\"") end - repo_path.gsub!(/.git$/, "") + repo_path.gsub!(/\.git$/, "") repo_path.gsub!(/^\//, "") project = Project.find_with_namespace(repo_path) |