diff options
author | scott Chacon <schacon@agadorsparticus.(none)> | 2007-11-10 15:34:12 -0800 |
---|---|---|
committer | scott Chacon <schacon@agadorsparticus.(none)> | 2007-11-10 15:34:12 -0800 |
commit | efcce7fc123b9e64fb9d93224e4e78d09144af3d (patch) | |
tree | 5c9966a11b18218d6e2f655e7f34a7604530b2a1 /lib/git.rb | |
parent | fde3263abc5c7866aa7dce7aef28eacaa33d7664 (diff) | |
download | third_party-ruby-git-efcce7fc123b9e64fb9d93224e4e78d09144af3d.tar.gz third_party-ruby-git-efcce7fc123b9e64fb9d93224e4e78d09144af3d.tar.xz third_party-ruby-git-efcce7fc123b9e64fb9d93224e4e78d09144af3d.zip |
got clone and init to work - my first writing functions
Diffstat (limited to 'lib/git.rb')
-rw-r--r-- | lib/git.rb | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -29,9 +29,9 @@ require 'git/ref' =end module Git - - def self.repo(git_dir) - Base.repo(git_dir) + + def self.bare(git_dir) + Base.bare(git_dir) end def self.open(working_dir, options = {}) @@ -42,8 +42,8 @@ module Git Base.init(working_dir, options) end - def self.clone(uri, options = {}) - Base.clone(working_dir, options) + def self.clone(repository, name, options = {}) + Base.clone(repository, name, options) end end |