Skip to content
Snippets Groups Projects
Commit 71eadb6e authored by tiagonbotelho's avatar tiagonbotelho
Browse files

Merge branch 'rename-repo-files' of gitlab.com:tiagonbotelho/gitlab-ce into rename-repo-files

parents 08c15116 53e26f27
No related branches found
No related tags found
1 merge request!5049Implements the form for renaming the new filename on the file edit page
Loading
Loading
@@ -749,31 +749,15 @@ class Repository
options[:author] = committer
options[:commit] = {
message: message,
<<<<<<< 3824e8e1c4315bb3d1b2c1389f442d3b5e94f945
branch: ref
}
 
=======
branch: ref,
}
if previous_path
options[:file] = {
path: previous_path
}
Gitlab::Git::Blob.remove(raw_repository, options)
end
>>>>>>> creates the update_file method in repository.rb and applies changes accordingly
options[:file] = {
content: content,
path: path,
update: update
}
 
<<<<<<< 3824e8e1c4315bb3d1b2c1389f442d3b5e94f945
if previous_path
options[:file].merge!(previous_path: previous_path)
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment