message.c
1.29 KB
-
Fix git_repository_message docs · 3d1c9f61
This clarifies the docs for git_repository_message and also adds to the tests to explicitly check NUL termination of data when the output buffer is smaller than the message size. There is a minor behavior change so that a non-NULL output buffer will always be NUL terminated (at length zero) if an error occurs.
Russell Belfer committed