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 88865a1 commit 23cf586Copy full SHA for 23cf586
lib/git/base.rb
@@ -851,7 +851,7 @@ def setup_logger(log_option)
851
def initialize_components(options)
852
@working_directory = Git::WorkingDirectory.new(options[:working_directory]) if options[:working_directory]
853
@repository = Git::Repository.new(options[:repository]) if options[:repository]
854
- @index = Git::Index.new(options[:index], false) if options[:index]
+ @index = Git::Index.new(options[:index], must_exist: false) if options[:index]
855
end
856
857
# Normalize options before they are sent to Git::Base.new
0 commit comments