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'
30 def self.bare(git_dir)
34 def self.open(working_dir, options = {})
35 Base.open(working_dir, options)
38 def self.init(working_dir = '.', options = {})
39 Base.init(working_dir, options)
42 def self.clone(repository, name, options = {})
43 Base.clone(repository, name, options)