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/branches'
33 def self.bare(git_dir)
37 def self.open(working_dir, options = {})
38 Base.open(working_dir, options)
41 def self.init(working_dir = '.', options = {})
42 Base.init(working_dir, options)
45 def self.clone(repository, name, options = {})
46 Base.clone(repository, name, options)