summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortiagonbotelho <tiagonbotelho@hotmail.com>2016-07-04 11:32:57 +0100
committertiagonbotelho <tiagonbotelho@hotmail.com>2016-07-08 13:31:31 +0100
commit7893b54df81874b105f49a6cfd0db8a0315c82ac (patch)
treec2a3d91040b2b838bb5148b2fc7aca4ce5d34263
parent19d208b4a36b9f710c13478a1e059d1d3f431ca1 (diff)
downloadgitlab-ce-7893b54df81874b105f49a6cfd0db8a0315c82ac.tar.gz
creates the update_file method in repository.rb and applies changes accordingly
-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 c0138514c0f..882a79eda8e 100644
--- a/app/models/repository.rb
+++ b/app/models/repository.rb
@@ -750,7 +750,6 @@ class Repository
if options[:previous_path]
commit_options[:file][:previous_path] = options[:previous_path]
-
Gitlab::Git::Blob.rename(raw_repository, commit_options)
else
Gitlab::Git::Blob.commit(raw_repository, commit_options)