Bump Gitaly version to v1.12.0
This commit is contained in:
parent
06cef29a62
commit
f5847911ca
2 changed files with 6 additions and 4 deletions
|
@ -1 +1 @@
|
|||
1.9.0
|
||||
1.12.0
|
||||
|
|
|
@ -163,9 +163,11 @@ module API
|
|||
end
|
||||
|
||||
def find_branch!(branch_name)
|
||||
user_project.repository.find_branch(branch_name) || not_found!('Branch')
|
||||
rescue Gitlab::Git::CommandError
|
||||
render_api_error!('The branch refname is invalid', 400)
|
||||
if Gitlab::GitRefValidator.validate(branch_name)
|
||||
user_project.repository.find_branch(branch_name) || not_found!('Branch')
|
||||
else
|
||||
render_api_error!('The branch refname is invalid', 400)
|
||||
end
|
||||
end
|
||||
|
||||
def find_project_label(id)
|
||||
|
|
Loading…
Reference in a new issue