updated the docs, added a version to the library, added a History file
[rubygit.git] / lib / git.rb
blob1452427c4a33b81628369764d258df942bac2b2b
2 # Add the directory containing this file to the start of the load path if it
3 # isn't there already.
4 $:.unshift(File.dirname(__FILE__)) unless
5   $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
7 require 'git/base'
8 require 'git/path'
9 require 'git/lib'
11 require 'git/repository'
12 require 'git/index'
13 require 'git/working_directory'
15 require 'git/log'
16 require 'git/object'
18 require 'git/branches'
19 require 'git/branch'
20 require 'git/remote'
22 require 'git/diff'
23 require 'git/status'
24 =begin
25 require 'git/author'
26 require 'git/file'
28 require 'git/sha'
29 require 'git/ref'
30 =end
32 module Git
34   VERSION = '1.0.1'
35   
36   def self.bare(git_dir)
37     Base.bare(git_dir)
38   end
39     
40   def self.open(working_dir, options = {})
41     Base.open(working_dir, options)
42   end
44   def self.init(working_dir = '.', options = {})
45     Base.init(working_dir, options)
46   end
48   def self.clone(repository, name, options = {})
49     Base.clone(repository, name, options)
50   end
51     
52 end