summaryrefslogtreecommitdiffstats
path: root/lib/git/base.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/git/base.rb')
-rw-r--r--lib/git/base.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/git/base.rb b/lib/git/base.rb
index c943b86..3c10389 100644
--- a/lib/git/base.rb
+++ b/lib/git/base.rb
@@ -49,6 +49,11 @@ module Git
@index
end
+ # factory methods
+
+ def object(objectish)
+ Git::Object.new(self, objectish)
+ end
def log(count = 30)
Git::Log.new(self, count)
@@ -57,11 +62,6 @@ module Git
def lib
Git::Lib.new(self)
end
-
- private
-
- def is_git_dir(dir)
- end
end