diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-08-11 11:51:26 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-08-11 11:51:26 +0200 |
commit | 08066059623184dbd55f0591fa05adc18ed80580 (patch) | |
tree | 4890e633780a55982200395d444747e2af4fac1c | |
parent | 815e678c4e331df49ee080af149253be008faf76 (diff) | |
download | gitlab-ce-08066059623184dbd55f0591fa05adc18ed80580.tar.gz |
Revert "Fix adding new file to empty repo"
This reverts commit 27a158506e033acd7195acf91995c1574e122832.
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r-- | Gemfile.lock | 4 | ||||
-rw-r--r-- | app/services/files/create_service.rb | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/Gemfile.lock b/Gemfile.lock index 7f8db0606e5..51d590778b3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -784,10 +784,14 @@ DEPENDENCIES gitlab-linguist (~> 3.0.1) gitlab_emoji (~> 0.1) <<<<<<< HEAD +<<<<<<< HEAD gitlab_git (~> 7.2.6) ======= gitlab_git (~> 7.2.2) >>>>>>> parent of dfccb06... Refactor web editor +======= + gitlab_git (~> 7.2.0) +>>>>>>> parent of 27a1585... Fix adding new file to empty repo gitlab_meta (= 7.0) gitlab_omniauth-ldap (= 1.2.1) gollum-lib (~> 4.0.2) diff --git a/app/services/files/create_service.rb b/app/services/files/create_service.rb index 21065f71510..c0cf5956326 100644 --- a/app/services/files/create_service.rb +++ b/app/services/files/create_service.rb @@ -42,7 +42,7 @@ module Files params[:new_branch] ) else - created_successfully = repository.commit_file( + created_successfull = repository.commit_file( current_user, file_path, params[:content], |