diff options
author | Rémy Coutable <remy@rymai.me> | 2016-04-15 11:38:59 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-04-15 11:38:59 +0200 |
commit | f8e8a61c9ce6d90347960a3fda8abd15c32ddc29 (patch) | |
tree | 98bb85665b06351753e308390ae709559b27965c /lib | |
parent | a5755812847d6866c51738a0b36927aa809b47d2 (diff) | |
download | gitlab-ce-f8e8a61c9ce6d90347960a3fda8abd15c32ddc29.tar.gz |
Remove Gitlab::Shell#update_repository_head since it's not used anymorepmq20/gitlab-ce-psvr/change-head
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/backend/shell.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/gitlab/backend/shell.rb b/lib/gitlab/backend/shell.rb index b9bb6e76081..db44a9a44d4 100644 --- a/lib/gitlab/backend/shell.rb +++ b/lib/gitlab/backend/shell.rb @@ -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 |