diff options
author | scott Chacon <schacon@agadorsparticus.corp.reactrix.com> | 2007-11-08 18:01:08 -0800 |
---|---|---|
committer | scott Chacon <schacon@agadorsparticus.corp.reactrix.com> | 2007-11-08 18:01:08 -0800 |
commit | ab20a674e50268b6c541949c746d77b16a26d15c (patch) | |
tree | 23e0f74748d79811e89ca9c63e2db58dedbe4636 /lib/git/base.rb | |
parent | 10045d082117d4ef35da31e1c5a825507b02dd97 (diff) | |
download | third_party-ruby-git-ab20a674e50268b6c541949c746d77b16a26d15c.tar.gz third_party-ruby-git-ab20a674e50268b6c541949c746d77b16a26d15c.tar.xz third_party-ruby-git-ab20a674e50268b6c541949c746d77b16a26d15c.zip |
added some branching beginnings
added tests for .size
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 |