diff options
| author | scott Chacon <schacon@agadorsparticus.(none)> | 2007-11-27 08:21:48 -0800 |
|---|---|---|
| committer | scott Chacon <schacon@agadorsparticus.(none)> | 2007-11-27 08:21:48 -0800 |
| commit | 779f21b307e7c119a56700fb14f88ba63a2cccc2 (patch) | |
| tree | f3f03821dbe66f581ae2707e6e872395adc7afbe /lib/git/base.rb | |
| parent | 55c3c134c5c19103ed52fbd615d5af351fa9bb34 (diff) | |
| parent | 6a9db968e8563bc27b8f56f9d413159a2e14cf67 (diff) | |
| download | third_party-ruby-git-779f21b307e7c119a56700fb14f88ba63a2cccc2.tar.gz third_party-ruby-git-779f21b307e7c119a56700fb14f88ba63a2cccc2.tar.xz third_party-ruby-git-779f21b307e7c119a56700fb14f88ba63a2cccc2.zip | |
Merge branches 'master' and 'internals'
Diffstat (limited to 'lib/git/base.rb')
| -rw-r--r-- | lib/git/base.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/git/base.rb b/lib/git/base.rb index 1820ee2..31ba9ff 100644 --- a/lib/git/base.rb +++ b/lib/git/base.rb @@ -429,6 +429,10 @@ module Git self.lib.revparse(objectish) end + def cat_file(objectish) + self.lib.object_contents(objectish) + end + # returns the name of the branch the working directory is currently on def current_branch self.lib.branch_current |
