Skip to content
Snippets Groups Projects
Commit 7893b54d authored by tiagonbotelho's avatar tiagonbotelho
Browse files

creates the update_file method in repository.rb and applies changes accordingly

parent 19d208b4
No related branches found
No related tags found
No related merge requests found
Loading
@@ -750,7 +750,6 @@ class Repository
Loading
@@ -750,7 +750,6 @@ class Repository
   
if options[:previous_path] if options[:previous_path]
commit_options[:file][:previous_path] = options[:previous_path] commit_options[:file][:previous_path] = options[:previous_path]
Gitlab::Git::Blob.rename(raw_repository, commit_options) Gitlab::Git::Blob.rename(raw_repository, commit_options)
else else
Gitlab::Git::Blob.commit(raw_repository, commit_options) Gitlab::Git::Blob.commit(raw_repository, commit_options)
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