From 51ae88c4e42f577b706447884dad94b11e9c916f Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Fri, 22 Nov 2013 12:55:20 +0200 Subject: Improve refs parsing for git over http Signed-off-by: Dmitriy Zaporozhets --- lib/gitlab/backend/grack_auth.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/gitlab/backend/grack_auth.rb') 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 -- cgit v1.2.1