From b18bca3b853dee6a7bc86f09921aa3b1ee3f3d7b Mon Sep 17 00:00:00 2001 From: scott Chacon Date: Thu, 8 Nov 2007 11:22:46 -0800 Subject: added log functions --- lib/git/base.rb | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'lib/git/base.rb') diff --git a/lib/git/base.rb b/lib/git/base.rb index 6eb3455..c943b86 100644 --- a/lib/git/base.rb +++ b/lib/git/base.rb @@ -49,6 +49,15 @@ module Git @index end + + def log(count = 30) + Git::Log.new(self, count) + end + + def lib + Git::Lib.new(self) + end + private def is_git_dir(dir) -- cgit