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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
46053183
Commit
46053183
authored
Jun 21, 2018
by
Jacob Vosmaer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restore method temporarily
parent
95e705e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
ee/app/models/ee/repository.rb
ee/app/models/ee/repository.rb
+7
-0
No files found.
ee/app/models/ee/repository.rb
View file @
46053183
...
@@ -35,5 +35,12 @@ module EE
...
@@ -35,5 +35,12 @@ module EE
# Gitaly migration: https://gitlab.com/gitlab-org/gitaly/issues/1243
# Gitaly migration: https://gitlab.com/gitlab-org/gitaly/issues/1243
::
Gitlab
::
GitalyClient
::
StorageSettings
.
allow_disk_access
{
super
}
::
Gitlab
::
GitalyClient
::
StorageSettings
.
allow_disk_access
{
super
}
end
end
# Gitaly migration: https://gitlab.com/gitlab-org/gitaly/issues/1246
def
update_branch
(
user
,
branch_name
,
newrev
,
oldrev
)
::
Gitlab
::
GitalyClient
::
StorageSettings
.
allow_disk_access
do
::
Gitlab
::
Git
::
OperationService
.
new
(
user
,
raw_repository
).
update_branch
(
branch_name
,
newrev
,
oldrev
)
end
end
end
end
end
end
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