summaryrefslogtreecommitdiff
path: root/include/git2/message.h
Commit message (Collapse)AuthorAgeFilesLines
* Make git_message_prettify return bytes writtenRussell Belfer2012-08-141-3/+5
| | | | | | | | | 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.
* message: Expose git_message_prettify()nulltoken2012-06-191-0/+41
git_commit() and git_tag() no longer prettify the message by default. This has to be taken care of by the caller. This has the nice side effect of putting the caller in position to actually choose to strip the comments or not.