2 # Add the directory containing this file to the start of the load path if it
4 $:.unshift(File.dirname(__FILE__)) unless
5 $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
11 require 'git/repository'
13 require 'git/working_directory'
18 require 'git/object/commit'
19 require 'git/object/blob'
20 require 'git/object/tree'
21 require 'git/object/tag'
37 def self.repo(git_dir)
41 def self.open(working_dir, options = {})
42 Base.open(working_dir, options)
49 def init(working_dir = '.')