push_util.c
3.2 KB
-
oid: Export `git_oid_tostr_s` instead of `_allocfmt` · 4ca0b566
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.
Vicent Marti committed