summaryrefslogtreecommitdiff
path: root/app/services/commits
diff options
context:
space:
mode:
authorJacob Vosmaer (GitLab) <jacob@gitlab.com>2018-06-11 10:42:09 +0000
committerSean McGivern <sean@mcgivern.me.uk>2018-06-11 10:42:09 +0000
commitea8dc107729c06bbc15bfba21dd249611c376a19 (patch)
treea4ac618b527519eeb592c20fd8944c8faf5cc8a9 /app/services/commits
parent8742af1e585593221d99d5345d083734b99adf74 (diff)
downloadgitlab-ce-ea8dc107729c06bbc15bfba21dd249611c376a19.tar.gz
Don't use Gitlab::Utils.nlbr in Gitlab::Git
Diffstat (limited to 'app/services/commits')
-rw-r--r--app/services/commits/create_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/commits/create_service.rb b/app/services/commits/create_service.rb
index f96f2931508..4d0578becbe 100644
--- a/app/services/commits/create_service.rb
+++ b/app/services/commits/create_service.rb
@@ -17,7 +17,7 @@ module Commits
new_commit = create_commit!
success(result: new_commit)
- rescue ValidationError, ChangeError, Gitlab::Git::Index::IndexError, Gitlab::Git::CommitError, Gitlab::Git::HooksService::PreReceiveError => ex
+ rescue ValidationError, ChangeError, Gitlab::Git::Index::IndexError, Gitlab::Git::CommitError, Gitlab::Git::PreReceiveError => ex
error(ex.message)
end