libgit2/include
Nicolas Hake 450e8e9e62 Expose patch serialization to git_buf
Returning library-allocated strings from libgit2 works fine on Linux,
but may cause problems on Windows because there is no one C Runtime that
everything links against. With libgit2 not exposing its own allocator,
freeing the string is a gamble.

git_patch_to_str already serializes to a buffer, then returns the
underlying memory. Expose the functionality directly, so callers can use
the git_buf_free function to free the memory later.
2014-01-22 13:40:19 +01:00
..
git2 Expose patch serialization to git_buf 2014-01-22 13:40:19 +01:00
git2.h Include git2/revert.h in git2.h 2013-12-03 23:00:50 +08:00