summaryrefslogtreecommitdiffstats
path: root/lib/git/base.rb
diff options
context:
space:
mode:
authorscott Chacon <schacon@agadorsparticus.(none)>2007-11-27 08:42:26 -0800
committerscott Chacon <schacon@agadorsparticus.(none)>2007-11-27 08:42:26 -0800
commit6bbead02aa2a60e7d50e68f3b2c98a14c26b2d81 (patch)
tree6233897a4ff9b1eec589d47a5a4a5eee458fa19f /lib/git/base.rb
parentb7a7d204bad7de8696ac800c3d1e608bdc344a38 (diff)
downloadthird_party-ruby-git-6bbead02aa2a60e7d50e68f3b2c98a14c26b2d81.zip
third_party-ruby-git-6bbead02aa2a60e7d50e68f3b2c98a14c26b2d81.tar.gz
third_party-ruby-git-6bbead02aa2a60e7d50e68f3b2c98a14c26b2d81.tar.xz
added ls-tree to gitr
Diffstat (limited to 'lib/git/base.rb')
-rw-r--r--lib/git/base.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/git/base.rb b/lib/git/base.rb
index 31ba9ff..e9ffc61 100644
--- a/lib/git/base.rb
+++ b/lib/git/base.rb
@@ -428,7 +428,11 @@ module Git
def revparse(objectish)
self.lib.revparse(objectish)
end
-
+
+ def ls_tree(objectish)
+ self.lib.ls_tree(objectish)
+ end
+
def cat_file(objectish)
self.lib.object_contents(objectish)
end