diff options
Diffstat (limited to 'lib/git/base.rb')
-rw-r--r-- | lib/git/base.rb | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/git/base.rb b/lib/git/base.rb index 3c10389..d552432 100644 --- a/lib/git/base.rb +++ b/lib/git/base.rb @@ -59,10 +59,20 @@ module Git Git::Log.new(self, count) end + def branches + Git::Branches.new(self) + end + def lib Git::Lib.new(self) end - + + # convenience methods + + def revparse(objectish) + self.lib.revparse(objectish) + end + end end
\ No newline at end of file |