Commit e182b850 authored by tiagonbotelho's avatar tiagonbotelho

fixes issues for mr acceptance

parent e7832d01
...@@ -750,6 +750,7 @@ class Repository ...@@ -750,6 +750,7 @@ class Repository
if previous_path if previous_path
options[:file][:previous_path] = previous_path options[:file][:previous_path] = 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)
......
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