diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-11 10:13:46 -0700 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-11 10:13:46 -0700 |
commit | 9d03bb102dfd33dc6f9072a3e2c5f17407d8cca3 (patch) | |
tree | 30e6884c5e65f187e8721a9e07ecb8824cf88da9 | |
parent | eb2c08d83989b70c94b0180ccf12149b2b9b7e69 (diff) | |
parent | af323545326b06a301905d07f15c9a199514cb24 (diff) | |
download | gitlab-shell-9d03bb102dfd33dc6f9072a3e2c5f17407d8cca3.tar.gz |
Merge pull request #13 from redorkulated/master
gitlab_update: Stop matching all on .git
-rw-r--r-- | lib/gitlab_update.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab_update.rb b/lib/gitlab_update.rb index 156e385..8282897 100644 --- a/lib/gitlab_update.rb +++ b/lib/gitlab_update.rb @@ -6,7 +6,7 @@ class GitlabUpdate @repo_path = repo_path.strip @repo_name = repo_path @repo_name.gsub!(GitlabConfig.new.repos_path.to_s, "") - @repo_name.gsub!(/.git$/, "") + @repo_name.gsub!(/\.git$/, "") @repo_name.gsub!(/^\//, "") @key_id = key_id |