diff options
author | scott Chacon <schacon@agadorsparticus.(none)> | 2007-11-10 12:43:33 -0800 |
---|---|---|
committer | scott Chacon <schacon@agadorsparticus.(none)> | 2007-11-10 12:43:33 -0800 |
commit | fde3263abc5c7866aa7dce7aef28eacaa33d7664 (patch) | |
tree | c9911ac92e9770c7bfea3e79269f8e7dcf7f6982 /lib/git.rb | |
parent | 9d59d2965184964ab6662282ef5f9ceac2c58552 (diff) | |
download | third_party-ruby-git-fde3263abc5c7866aa7dce7aef28eacaa33d7664.tar.gz third_party-ruby-git-fde3263abc5c7866aa7dce7aef28eacaa33d7664.tar.xz third_party-ruby-git-fde3263abc5c7866aa7dce7aef28eacaa33d7664.zip |
few hours work - diff is done
Diffstat (limited to 'lib/git.rb')
-rw-r--r-- | lib/git.rb | 14 |
1 files changed, 6 insertions, 8 deletions
@@ -19,13 +19,11 @@ require 'git/branches' require 'git/branch' require 'git/remote' +require 'git/diff' =begin require 'git/author' require 'git/file' -require 'git/diff' -require 'git/remote' - require 'git/sha' require 'git/ref' =end @@ -40,12 +38,12 @@ module Git Base.open(working_dir, options) end - def clone - Base.clone() + def self.init(working_dir = '.', options = {}) + Base.init(working_dir, options) end - def init(working_dir = '.') - Base.clone() + def self.clone(uri, options = {}) + Base.clone(working_dir, options) end - + end |