libgit2/libgit2 — pull request #602 by arrbee (2012-03-20 00:57:08+00:00)
Title: More error handling conversions

@tanoku - wanted you to look this over. Most of it is simple, but I added a new error class `GITERR_INVALID` and converted a lot of parse validity checks to use that class. It kind of hides some of the different ways that parsed values can be invalid, but I thought maybe it was good enough and kept things simple. However, I was a little unsure, so I wanted to create a PR instead of just merging this stuff in. Let me know what you think.