git_commit_message

Get the full message of a commit.

The returned message will be slightly prettified by removing any potential leading newlines.

extern (C) nothrow @nogc public
const(char)*
git_commit_message

Parameters

commit const(libgit2.types.git_commit)*

a previously loaded commit.

Return Value

Type: const(char)*

the message of a commit

Meta