Check errors from libgit2 calls
Stop being crazy about freeing memory
blame: allow restriction to line range