Skip to content
Snippets Groups Projects
Verified Commit f8e8a61c authored by Rémy Coutable's avatar Rémy Coutable
Browse files

Remove Gitlab::Shell#update_repository_head since it's not used anymore


Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent a5755812
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -54,19 +54,6 @@ module Gitlab
"#{path}.git", "#{new_path}.git"])
end
 
# Update HEAD for repository
#
# path - project path with namespace
# branch - repository branch name
#
# Ex.
# update_repository_head("gitlab/gitlab-ci", "3-1-stable")
#
def update_repository_head(path, branch)
Gitlab::Utils.system_silent([gitlab_shell_projects_path, 'update-head',
"#{path}.git", branch])
end
# Fork repository to new namespace
#
# path - project path with namespace
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment