diff options
author | scott Chacon <schacon@agadorsparticus.corp.reactrix.com> | 2007-11-08 17:25:41 -0800 |
---|---|---|
committer | scott Chacon <schacon@agadorsparticus.corp.reactrix.com> | 2007-11-08 17:25:41 -0800 |
commit | 10045d082117d4ef35da31e1c5a825507b02dd97 (patch) | |
tree | b418c5d28334e8514a075effc20c1ebdcbf34a25 /lib/git/object.rb | |
parent | 1f63953f05a4afe74f881d54f69f77da513939d5 (diff) | |
download | third_party-ruby-git-10045d082117d4ef35da31e1c5a825507b02dd97.tar.gz third_party-ruby-git-10045d082117d4ef35da31e1c5a825507b02dd97.tar.xz third_party-ruby-git-10045d082117d4ef35da31e1c5a825507b02dd97.zip |
got all the unit tests to run from either place, fixed some old functionality
Diffstat (limited to 'lib/git/object.rb')
-rw-r--r-- | lib/git/object.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/git/object.rb b/lib/git/object.rb index 9346b87..4f8e559 100644 --- a/lib/git/object.rb +++ b/lib/git/object.rb @@ -25,6 +25,10 @@ module Git raise NotImplementedError end + def to_s + "#{@type.ljust(6)} #{@sha}" + end + end |