Commit b895a2e3 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Use the 'shared' directory for MR rebasing

parent 1ab62227
......@@ -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?
......
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