libgit2/libgit2 — pull request #644 by carlosmn (2012-04-26 13:52:21+00:00)
Title: Remaining error handling

This finishes up the error handling changes. The old test suite reports an error, but that's just because I didn't update it to expect `-1` instead of the "invalid" error code. Clar does pass.

I've left `git__throw` and `git__rethrow` in there so we can build the whole thing. IIRC the dev branch doesn't have the old test suite in it so we can kill it then.