diff options
author | tiagonbotelho <tiagonbotelho@hotmail.com> | 2016-07-04 16:53:39 +0100 |
---|---|---|
committer | tiagonbotelho <tiagonbotelho@hotmail.com> | 2016-07-04 16:53:39 +0100 |
commit | 71eadb6ee90d2040d950150dadd7944d551fe76b (patch) | |
tree | 29d589980d6387c33ab1e26fd99b5719f4c6fcd7 | |
parent | 08c15116d197ff1267e0cc1c1403af65e8b41772 (diff) | |
parent | 53e26f2715e2b23d9386739d27f80825ebc90f67 (diff) | |
download | gitlab-ce-71eadb6ee90d2040d950150dadd7944d551fe76b.tar.gz |
Merge branch 'rename-repo-files' of gitlab.com:tiagonbotelho/gitlab-ce into rename-repo-files
-rw-r--r-- | app/models/repository.rb | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/app/models/repository.rb b/app/models/repository.rb index 37455e67328..75071c65efb 100644 --- a/app/models/repository.rb +++ b/app/models/repository.rb @@ -749,31 +749,15 @@ class Repository options[:author] = committer options[:commit] = { message: message, -<<<<<<< 3824e8e1c4315bb3d1b2c1389f442d3b5e94f945 branch: ref } -======= - branch: ref, - } - - if previous_path - options[:file] = { - path: previous_path - } - - - Gitlab::Git::Blob.remove(raw_repository, options) - end - ->>>>>>> creates the update_file method in repository.rb and applies changes accordingly options[:file] = { content: content, path: path, update: update } -<<<<<<< 3824e8e1c4315bb3d1b2c1389f442d3b5e94f945 if previous_path options[:file].merge!(previous_path: previous_path) |