mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-24 12:06:11 +10:00
Use the 'shared' directory for MR rebasing
This commit is contained in:
@@ -537,7 +537,7 @@ class MergeRequest < ActiveRecord::Base
|
||||
end
|
||||
|
||||
def rebase_dir_path
|
||||
Rails.root.join('tmp', 'rebase', source_project.id.to_s, id.to_s).to_s
|
||||
File.join(Gitlab.config.shared.path, 'tmp/rebase', source_project.id.to_s, id.to_s).to_s
|
||||
end
|
||||
|
||||
def rebase_in_progress?
|
||||
|
||||
Reference in New Issue
Block a user