summaryrefslogtreecommitdiff
path: root/app/models/repository.rb
diff options
context:
space:
mode:
authortiagonbotelho <tiagonbotelho@hotmail.com>2016-07-06 13:51:28 +0100
committertiagonbotelho <tiagonbotelho@hotmail.com>2016-07-12 15:54:04 +0100
commitf2df78d17977c1e082d6e78dda1ba98e62097ebd (patch)
tree863113a65d5e4ec7af59ebc85ab7734847f9811c /app/models/repository.rb
parent66c9a2db629e034db72aba939d71ca57be2984d7 (diff)
downloadgitlab-ce-f2df78d17977c1e082d6e78dda1ba98e62097ebd.tar.gz
fixes issues for mr acceptance
Diffstat (limited to 'app/models/repository.rb')
-rw-r--r--app/models/repository.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/models/repository.rb b/app/models/repository.rb
index 990e2b30580..5f5634aafa2 100644
--- a/app/models/repository.rb
+++ b/app/models/repository.rb
@@ -750,7 +750,6 @@ class Repository
if previous_path
options[:file][:previous_path] = previous_path
-
Gitlab::Git::Blob.rename(raw_repository, commit_options)
else
Gitlab::Git::Blob.commit(raw_repository, commit_options)