diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-11-22 14:55:20 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-11-22 14:55:20 +0400 |
commit | 51ae88c4e42f577b706447884dad94b11e9c916f (patch) | |
tree | 3da6f5bccec73f8d22a17a3693e21127da580370 | |
parent | 06feb3c44231ab3fb8ac26c00d606587ac90a11c (diff) |
Improve refs parsing for git over http
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r-- | lib/gitlab/backend/grack_auth.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/backend/grack_auth.rb b/lib/gitlab/backend/grack_auth.rb index b1f99be2cb8..e2349495b57 100644 --- a/lib/gitlab/backend/grack_auth.rb +++ b/lib/gitlab/backend/grack_auth.rb @@ -132,7 +132,7 @@ module Grack # Cleanup grabare from refs # if push to multiple branches refs.map do |ref| - ref.gsub(/0000PACK.*/, "") + ref.gsub(/00.*/, "") end end end |