libgit2/tests-clar/object/commit
Russell Belfer 85a0e28b80 Make git_message_prettify return bytes written
If you want to be absolutely safe with git_message_prettify, you
can now pass a NULL pointer for the buffer and get back the number
of bytes that would be copied into the buffer.

This means that an error is a non-negative return code and a
success will be greater than zero from this function.
2012-08-14 10:50:58 -07:00
..
commitstagedfile.c Make git_message_prettify return bytes written 2012-08-14 10:50:58 -07:00