Skip to content

Commit fe55f16

Browse files
committed
API updates for message.h
1 parent eac7695 commit fe55f16

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

include/git2/message.h

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ GIT_BEGIN_DECL
2323
*
2424
* Optionally, can remove lines starting with a "#".
2525
*
26-
* @param message_out The user allocated buffer which will be filled with
26+
* @param out The user-allocated buffer which will be filled with
2727
* the cleaned up message. Pass NULL if you just want to get the size of the
2828
* prettified message as the output value.
2929
*
@@ -36,7 +36,11 @@ GIT_BEGIN_DECL
3636
* @return -1 on error, else number of characters in prettified message
3737
* including the trailing NUL byte
3838
*/
39-
GIT_EXTERN(int) git_message_prettify(char *message_out, size_t buffer_size, const char *message, int strip_comments);
39+
GIT_EXTERN(int) git_message_prettify(
40+
char *out,
41+
size_t buffer_size,
42+
const char *message,
43+
int strip_comments);
4044

4145
/** @} */
4246
GIT_END_DECL

0 commit comments

Comments
 (0)