From efcce7fc123b9e64fb9d93224e4e78d09144af3d Mon Sep 17 00:00:00 2001 From: scott Chacon Date: Sat, 10 Nov 2007 15:34:12 -0800 Subject: got clone and init to work - my first writing functions --- lib/git.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/git.rb') diff --git a/lib/git.rb b/lib/git.rb index ec52c54..bb68388 100644 --- a/lib/git.rb +++ b/lib/git.rb @@ -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 -- cgit