]> git.proxmox.com Git - libgit2.git/commit - src/libgit2/commit.c
commit: introduce `git_commit_body`
authorPatrick Steinhardt <ps@pks.im>
Tue, 1 Dec 2015 09:03:56 +0000 (10:03 +0100)
committerPatrick Steinhardt <ps@pks.im>
Tue, 1 Dec 2015 09:07:00 +0000 (10:07 +0100)
commit7f8fe1d45e086adc9e7f3f0c33b624eeb3774033
tree638145f66aaa879b564d46e034eb7298a4de8070
parent337b2b08f46ea77d61fa66657ad62d8702bc233a
commit: introduce `git_commit_body`

It is already possible to get a commit's summary with the
`git_commit_summary` function. It is not possible to get the
remaining part of the commit message, that is the commit
message's body.

Fix this by introducing a new function `git_commit_body`.
include/git2/commit.h
src/commit.c
src/commit.h
tests/commit/commit.c