summaryrefslogtreecommitdiffstats
path: root/lib/git/base.rb
diff options
context:
space:
mode:
authorscott Chacon <schacon@agadorsparticus.corp.reactrix.com>2007-11-08 11:22:46 -0800
committerscott Chacon <schacon@agadorsparticus.corp.reactrix.com>2007-11-08 11:22:46 -0800
commitb18bca3b853dee6a7bc86f09921aa3b1ee3f3d7b (patch)
tree718f1b6451f5a9dd9b8cb844fa3d3e9f32400d50 /lib/git/base.rb
parent169381bbce998807c119f291d69b8ae1d8fb5785 (diff)
downloadthird_party-ruby-git-b18bca3b853dee6a7bc86f09921aa3b1ee3f3d7b.tar.gz
third_party-ruby-git-b18bca3b853dee6a7bc86f09921aa3b1ee3f3d7b.tar.xz
third_party-ruby-git-b18bca3b853dee6a7bc86f09921aa3b1ee3f3d7b.zip
added log functions
Diffstat (limited to 'lib/git/base.rb')
-rw-r--r--lib/git/base.rb9
1 files changed, 9 insertions, 0 deletions
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)