Commit 51ae88c4e42f577b706447884dad94b11e9c916f
1 parent
06feb3c4
Exists in
master
and in
4 other branches
Improve refs parsing for git over http
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/gitlab/backend/grack_auth.rb
| @@ -132,7 +132,7 @@ module Grack | @@ -132,7 +132,7 @@ module Grack | ||
| 132 | # Cleanup grabare from refs | 132 | # Cleanup grabare from refs |
| 133 | # if push to multiple branches | 133 | # if push to multiple branches |
| 134 | refs.map do |ref| | 134 | refs.map do |ref| |
| 135 | - ref.gsub(/0000PACK.*/, "") | 135 | + ref.gsub(/00.*/, "") |
| 136 | end | 136 | end |
| 137 | end | 137 | end |
| 138 | end | 138 | end |