mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-07 23:19:28 +00:00

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.
16 lines
431 B
C
16 lines
431 B
C
/*
|
|
* Copyright (C) 2009-2012 the libgit2 contributors
|
|
*
|
|
* This file is part of libgit2, distributed under the GNU GPL v2 with
|
|
* a Linking Exception. For full terms see the included COPYING file.
|
|
*/
|
|
#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);
|
|
|
|
#endif /* INCLUDE_message_h__ */
|