Skip to content
Snippets Groups Projects
Commit 992c4e40 authored by Robert Speicher's avatar Robert Speicher
Browse files

Blob#commit is complex, but we can't deal with that right now

parent 37f89c0c
No related branches found
No related tags found
1 merge request!136Prepare for absorb
Loading
Loading
@@ -121,6 +121,9 @@ module Gitlab
# update_ref: false
# }
#
# rubocop:disable Metrics/AbcSize
# rubocop:disable Metrics/CyclomaticComplexity
# rubocop:disable Metrics/PerceivedComplexity
def commit(repository, options, action = :add)
file = options[:file]
update = file[:update].nil? ? true : file[:update]
Loading
Loading
@@ -194,6 +197,9 @@ module Gitlab
 
Rugged::Commit.create(repo, opts)
end
# rubocop:enable Metrics/AbcSize
# rubocop:enable Metrics/CyclomaticComplexity
# rubocop:enable Metrics/PerceivedComplexity
 
# Remove file from repository and return commit sha
#
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment