Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2012-06-16 00:24:59 +0400
committernulltoken <emeric.fermas@gmail.com>2012-06-19 12:02:22 +0400
commit743a4b3bdd0ff37eacf49e496ba2e5cd7b9a3f83 (patch)
tree70a6ea1a449e504bfe66dbf47168a360f049086f /src/message.h
parent68f527c4480f0c1e24f29dc0a2337469fe50967f (diff)
message: Expose git_message_prettify()
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.
Diffstat (limited to 'src/message.h')
-rw-r--r--src/message.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/message.h b/src/message.h
index ddfa13e18..7e4e7f337 100644
--- a/src/message.h
+++ b/src/message.h
@@ -7,8 +7,9 @@
#ifndef INCLUDE_message_h__
#define INCLUDE_message_h__
+#include "git2/message.h"
#include "buffer.h"
-int git_message_prettify(git_buf *message_out, const char *message, int strip_comments);
+int git_message__prettify(git_buf *message_out, const char *message, int strip_comments);
#endif /* INCLUDE_message_h__ */