git_commit_summary

Get the short "summary" of the git commit message.

The returned message is the summary of the commit, comprising the first paragraph of the message with whitespace trimmed and squashed.

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

Parameters

commit libgit2.types.git_commit*

a previously loaded commit.

Return Value

Type: const(char)*

the summary of a commit or null on error

Meta