summaryrefslogtreecommitdiff
path: root/include/git2/message.h
Commit message (Collapse)AuthorAgeFilesLines
* message: update docs for git_message_prettifycmn/prettify-docsCarlos Martín Nieto2018-01-191-3/+2
| | | | | | | | We used to hard-code the octothorpe as the comment character and the documentation still mentions this even though we accept the comment character as a parameter. Update the line to indicate this and clean up the first paragraph a bit.
* update code docsBrian Lopez2018-01-161-4/+15
|
* Change trailer API to return a simple arrayBrian Lopez2018-01-161-7/+17
|
* remove empty lines between @-linesBrian Lopez2018-01-031-3/+0
|
* message: add routine for parsing trailers from messagesCharlie Somerville2017-12-191-0/+23
| | | | | This is implemented in trailer.c and borrows a large amount of logic from Git core to ensure compatibility.
* message: don't assume the comment charcmn/comment-charCarlos Martín Nieto2014-05-181-3/+5
| | | | | The comment char is configurable and we need to provide a way for the user to specify which comment char they chose for their message.
* messsage: use git_buf in prettify()Carlos Martín Nieto2014-01-271-12/+5
| | | | | A lot of the tests were checking for overflow, which we don't have anymore, so we can remove them.
* update copyrightsEdward Thomson2013-01-081-1/+1
|
* Clarify git_message_prettify commentsRussell Belfer2012-11-271-7/+9
|
* API updates for message.hBen Straub2012-11-271-2/+6
|
* 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.