Skip to content
Browse files

Fix a reference to OBJ_* in the README.

  • Loading branch information...
1 parent 160f365 commit aafebc5fe18306715e62949cb14395054684f2d5 @nelhage committed Oct 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
2 README.md
@@ -126,7 +126,7 @@ these methods should be useful in their derived classes.
```ruby
obj = repo.lookup(sha)
obj.oid # object sha
-obj.type [OBJ_COMMIT, OBJ_TREE, OBJ_BLOB, OBJ_TAG]
+obj.type # One of :commit, :tree, :blob or :tag
robj = obj.read_raw
str = robj.data

0 comments on commit aafebc5

Please sign in to comment.
Something went wrong with that request. Please try again.