Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
f8e8a61c
Commit
f8e8a61c
authored
Apr 15, 2016
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove Gitlab::Shell#update_repository_head since it's not used anymore
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
a5755812
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
13 deletions
+0
-13
lib/gitlab/backend/shell.rb
lib/gitlab/backend/shell.rb
+0
-13
No files found.
lib/gitlab/backend/shell.rb
View file @
f8e8a61c
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment