diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-06-01 21:17:13 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-06-01 21:17:13 +0200 |
commit | 27a158506e033acd7195acf91995c1574e122832 (patch) | |
tree | 04cd8ed0f367163566bf54e29ada9292efea246b /app/services/files | |
parent | 734a4ba87de7bc8cf152c5bc7f93ba04210b282d (diff) | |
download | gitlab-ce-27a158506e033acd7195acf91995c1574e122832.tar.gz |
Fix adding new file to empty repo
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/services/files')
-rw-r--r-- | app/services/files/create_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/files/create_service.rb b/app/services/files/create_service.rb index c0cf5956326..21065f71510 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_successfull = repository.commit_file( + created_successfully = repository.commit_file( current_user, file_path, params[:content], |