Skip to content

Commit

Permalink
Fix a reference to OBJ_* in the README.
Browse files Browse the repository at this point in the history
  • Loading branch information
nelhage committed Oct 5, 2012
1 parent 160f365 commit aafebc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aafebc5

Please sign in to comment.