Commit d4cf167515d3ed7b27c1358fc2e19b9caf66e8ad

Edward Thomson 2015-02-19T10:05:33

buffer: introduce git_buf_attach_notowned 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.