creationix/js-git — pull request #114 by alexbirkett (2014-12-26 23:43:28+00:00)
Title: Update README.md

```repo.loadAs()``` expects a hash as the second parameter.

Using the callback api, repo.loadAs() expects a hash as the second parameter. It calls back with an empty array if the ```tree["greeting.txt"]```object is passed. I think it should callback with an error if the hash is not valid.