diff_driver.c
12.3 KB
-
buffer: introduce git_buf_attach_notowned · d4cf1675
Provide a convenience function that creates a buffer that can be provided to callers but will not be freed via `git_buf_free`, so the buffer creator maintains the allocation lifecycle of the buffer's contents.
Edward Thomson committed