Commit f8e8a61c authored by Rémy Coutable's avatar Rémy Coutable

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

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent a5755812
...@@ -54,19 +54,6 @@ module Gitlab ...@@ -54,19 +54,6 @@ module Gitlab
"#{path}.git", "#{new_path}.git"]) "#{path}.git", "#{new_path}.git"])
end 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 # Fork repository to new namespace
# #
# path - project path with namespace # path - project path with namespace
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment