libgit2

git_commit_body

Version:

Get the long "body" of the git commit message.

The returned message is the body of the commit, comprising everything but the first paragraph of the message. Leading and trailing whitespaces are trimmed.

Signature

const char *git_commit_body(git_commit *commit);

Parameters

In
commit

a previously loaded commit.

Returns

const char *

the body of a commit or NULL when no the message only consists of a summary

Versions