summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-06-01 21:17:13 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-06-01 21:17:13 +0200
commit27a158506e033acd7195acf91995c1574e122832 (patch)
tree04cd8ed0f367163566bf54e29ada9292efea246b /app
parent734a4ba87de7bc8cf152c5bc7f93ba04210b282d (diff)
downloadgitlab-ce-27a158506e033acd7195acf91995c1574e122832.tar.gz
Fix adding new file to empty repo
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app')
-rw-r--r--app/services/files/create_service.rb2
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],