libgit2/libgit2 — pull request #2528 by vmg (2014-08-18 10:45:59+00:00)
Title: Export `git_oid_tostr_s` instead of `_allocfmt`

The old `allocfmt` is of no use to callers, as they are not able to free
the returned buffer. Export a new API that returns a static string that
doesn't need to be freed.

Supersedes https://github.com/libgit2/libgit2/pull/2524, fixes #2493