mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-17 08:36:06 +10:00
Fixed developer push to protected branch. Closes #2647
This commit is contained in:
@@ -81,7 +81,7 @@ module Grack
|
||||
end
|
||||
# Need to reset seek point
|
||||
@request.body.rewind
|
||||
/refs\/heads\/([\w\.-]+)/.match(input).to_a.first
|
||||
/refs\/heads\/([\w\.-]+)/.match(input).to_a.last
|
||||
end
|
||||
|
||||
def project
|
||||
|
||||
Reference in New Issue
Block a user