# File lib/git/base.rb, line 96 def set_index(index_file, check = true) @lib = nil @index = Git::Index.new(index_file.to_s, check) end