libgit2

git_commit_message_short

Version:

Get the short (one line) message of a commit.

Signature

const char *git_commit_message_short(git_commit *commit);

Parameters

In
commit

a previously loaded commit.

Returns

const char *

the short message of a commit

Versions