Add latest changes from gitlab-org/gitlab@master

This commit is contained in:
GitLab Bot
2024-06-03 21:13:04 +00:00
parent f4794b8f4c
commit 188b122116
72 changed files with 528 additions and 654 deletions

View File

@ -112,6 +112,12 @@ module ExtractsRef
]
end
def ref_type
self.class.ref_type(params[:ref_type])
end
private
def extract_ref_path
id = extract_id_from_params
ref, path = extract_ref(id)
@ -119,12 +125,6 @@ module ExtractsRef
[id, ref, path]
end
def ref_type
self.class.ref_type(params[:ref_type])
end
private
def extract_raw_ref(id)
return ['', ''] unless repository_container