Skip to content

Commit 5171f44

Browse files
authored
Merge pull request libgit2#4483 from libgit2/cmn/prettify-docs
message: update docs for git_message_prettify
2 parents 820370f + dcb668b commit 5171f44

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

include/git2/message.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,9 @@
1919
GIT_BEGIN_DECL
2020

2121
/**
22-
* Clean up message from excess whitespace and make sure that the last line
23-
* ends with a '\n'.
22+
* Clean up excess whitespace and make sure there is a trailing newline in the message.
2423
*
25-
* Optionally, can remove lines starting with a "#".
24+
* Optionally, it can remove lines which start with the comment character.
2625
*
2726
* @param out The user-allocated git_buf which will be filled with the
2827
* cleaned up message.

0 commit comments

Comments
 (0)