michael/github — pull request #113 by whoisterencelee (2014-03-30 05:07:48+00:00)
Title: Whoisterencelee

A few changes to allow 4 things:
1) fix for issue #101
getting Content(branch, path, cb, sync, 'json') will get a json with file obj sha, which is closer to what http://developer.github.com/v3/repos/contents/#get-contents is describing, with 'json' will give the same behaviour as before, getting the file raw content
2) added a repo.req function to allow access to request, which is useful if anyone wants to make custom API calls
3) allow request status==0 which is returned from XHR request made from a locally loaded page
4) getCommits should use pagination