libgit2/git2go — pull request #80 by jezell (2014-04-02 17:34:32+00:00)
Title: make it possible to handle errors

Exposes git error codes / classes as consts.
Fixes unhandled exception in error type checks
Replaces error type checks with more generic functions
Protects against bad oids causing panic in NewOid