diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2017-09-01 13:11:59 +0300 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2017-09-01 15:37:56 +0300 |
commit | 6cdaa27a537662732cb089bdd3483d76a5a56a9a (patch) | |
tree | eb40060be2d59f97921f6ccf2f7a2f8086824dc6 /app/services/commits | |
parent | 129d6bf2de3195263553e706d1ecbb04ebb71441 (diff) |
Move GitOperationService to Gitlab::Git
Diffstat (limited to 'app/services/commits')
-rw-r--r-- | app/services/commits/create_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/commits/create_service.rb b/app/services/commits/create_service.rb index dbd0b9ef43a..f96f2931508 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, Repository::CommitError, Gitlab::Git::HooksService::PreReceiveError => ex + rescue ValidationError, ChangeError, Gitlab::Git::Index::IndexError, Gitlab::Git::CommitError, Gitlab::Git::HooksService::PreReceiveError => ex error(ex.message) end |