We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9abb18 commit 466237bCopy full SHA for 466237b
lib/git/base.rb
@@ -17,16 +17,17 @@ def self.bare(git_dir, opts = {})
17
# name - sinatra
18
#
19
# options:
20
- # :repository
+ # :log
21
22
- # :bare
+ # :repository
23
+ # :bare
24
# or
- # :working_directory
25
- # :index_file
+ # :working_directory
26
+ # :index_file
27
28
def self.clone(repository, name, opts = {})
29
# run git-clone
- self.new(Git::Lib.new.clone(repository, name, opts))
30
+ self.new(Git::Lib.new(nil, opts[:log]).clone(repository, name, opts).merge(log: opts[:log]))
31
end
32
33
# Returns (and initialize if needed) a Git::Config instance
0 commit comments