Improve refs parsing for git over http

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2013-11-22 12:55:20 +02:00
parent 06feb3c442
commit 51ae88c4e4
No known key found for this signature in database
GPG Key ID: 2CEAFD2671262EC2
1 changed files with 1 additions and 1 deletions

View File

@ -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