libgit2/libgit2 — pull request #1491 by ethomson (2013-04-19 23:23:49+00:00)
Title: alloc doesn't take a refdb

I think this is the solution that @vmg was proposing?