Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
fe55f163
Commit
fe55f163
authored
Nov 26, 2012
by
Ben Straub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
API updates for message.h
parent
eac76956
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
include/git2/message.h
+6
-2
No files found.
include/git2/message.h
View file @
fe55f163
...
@@ -23,7 +23,7 @@ GIT_BEGIN_DECL
...
@@ -23,7 +23,7 @@ GIT_BEGIN_DECL
*
*
* Optionally, can remove lines starting with a "#".
* Optionally, can remove lines starting with a "#".
*
*
* @param
message_out The user
allocated buffer which will be filled with
* @param
out The user-
allocated buffer which will be filled with
* the cleaned up message. Pass NULL if you just want to get the size of the
* the cleaned up message. Pass NULL if you just want to get the size of the
* prettified message as the output value.
* prettified message as the output value.
*
*
...
@@ -36,7 +36,11 @@ GIT_BEGIN_DECL
...
@@ -36,7 +36,11 @@ GIT_BEGIN_DECL
* @return -1 on error, else number of characters in prettified message
* @return -1 on error, else number of characters in prettified message
* including the trailing NUL byte
* including the trailing NUL byte
*/
*/
GIT_EXTERN
(
int
)
git_message_prettify
(
char
*
message_out
,
size_t
buffer_size
,
const
char
*
message
,
int
strip_comments
);
GIT_EXTERN
(
int
)
git_message_prettify
(
char
*
out
,
size_t
buffer_size
,
const
char
*
message
,
int
strip_comments
);
/** @} */
/** @} */
GIT_END_DECL
GIT_END_DECL
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment