Module: CloneLoggerFix::ClassMethods

Defined in:
lib/github_bitbucket_deployer/clone_logger_fix.rb

Instance Method Summary collapse

Instance Method Details

#clone(repository, name, opts = {}) ⇒ Object



7
8
9
10
11
# File 'lib/github_bitbucket_deployer/clone_logger_fix.rb', line 7

def clone(repository, name, opts = {})
  lib = ::Git::Lib.new(nil, opts[:log])
  clone_opts = lib.clone(repository, name, opts)
  new(clone_opts.merge(log: opts[:log]))
end