summaryrefslogtreecommitdiff
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
parent734a4ba87de7bc8cf152c5bc7f93ba04210b282d (diff)
downloadgitlab-ce-27a158506e033acd7195acf91995c1574e122832.tar.gz
Fix adding new file to empty repo
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r--Gemfile2
-rw-r--r--Gemfile.lock4
-rw-r--r--app/services/files/create_service.rb2
3 files changed, 4 insertions, 4 deletions
diff --git a/Gemfile b/Gemfile
index 535b59caa39..70f7e5cf41a 100644
--- a/Gemfile
+++ b/Gemfile
@@ -45,7 +45,7 @@ gem "browser"
# Extracting information from a git repository
# Provide access to Gitlab::Git library
-gem "gitlab_git", '~> 7.2.0'
+gem "gitlab_git", '~> 7.2.1'
# Ruby/Rack Git Smart-HTTP Server Handler
# GitLab fork with a lot of changes (improved thread-safety, better memory usage etc)
diff --git a/Gemfile.lock b/Gemfile.lock
index 3d21dff2990..ae411a34956 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -225,7 +225,7 @@ GEM
mime-types (~> 1.19)
gitlab_emoji (0.1.0)
gemojione (~> 2.0)
- gitlab_git (7.2.0)
+ gitlab_git (7.2.1)
activesupport (~> 4.0)
charlock_holmes (~> 0.6)
gitlab-linguist (~> 3.0)
@@ -733,7 +733,7 @@ DEPENDENCIES
gitlab-grack (~> 2.0.2)
gitlab-linguist (~> 3.0.1)
gitlab_emoji (~> 0.1)
- gitlab_git (~> 7.2.0)
+ gitlab_git (~> 7.2.1)
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 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],