summaryrefslogtreecommitdiff
path: root/src/message.h
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2012-06-15 22:24:59 +0200
committernulltoken <emeric.fermas@gmail.com>2012-06-19 10:02:22 +0200
commit743a4b3bdd0ff37eacf49e496ba2e5cd7b9a3f83 (patch)
tree70a6ea1a449e504bfe66dbf47168a360f049086f /src/message.h
parent68f527c4480f0c1e24f29dc0a2337469fe50967f (diff)
downloadlibgit2-743a4b3bdd0ff37eacf49e496ba2e5cd7b9a3f83.tar.gz
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__ */