mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-30 16:43:16 +00:00

'git commit' and 'git tag -a' enforce some conventions, like cleaning up excess whitespace and making sure that the last line ends with a '\n'. This fix replicates this behavior. Fix libgit2/libgit2sharp#117
15 lines
404 B
C
15 lines
404 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 "buffer.h"
|
|
|
|
int git_message_prettify(git_buf *message_out, const char *message, int strip_comments);
|
|
|
|
#endif /* INCLUDE_message_h__ */
|