From 7893b54df81874b105f49a6cfd0db8a0315c82ac Mon Sep 17 00:00:00 2001 From: tiagonbotelho <tiagonbotelho@hotmail.com> Date: Mon, 4 Jul 2016 11:32:57 +0100 Subject: [PATCH] creates the update_file method in repository.rb and applies changes accordingly --- app/models/repository.rb | 1 - 1 file changed, 1 deletion(-) 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) -- GitLab