From 743a4b3bdd0ff37eacf49e496ba2e5cd7b9a3f83 Mon Sep 17 00:00:00 2001 From: nulltoken Date: Fri, 15 Jun 2012 22:24:59 +0200 Subject: 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. --- src/message.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/message.h') 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__ */ -- cgit v1.2.3 From 359fc2d241ac407bdf9bf0d28715705f01ca6360 Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Tue, 8 Jan 2013 17:07:25 -0600 Subject: update copyrights --- src/message.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/message.h') diff --git a/src/message.h b/src/message.h index 7e4e7f337..3c4b8dc45 100644 --- a/src/message.h +++ b/src/message.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2009-2012 the libgit2 contributors + * Copyright (C) the libgit2 contributors. All rights reserved. * * This file is part of libgit2, distributed under the GNU GPL v2 with * a Linking Exception. For full terms see the included COPYING file. -- cgit v1.2.3