Instead of extracting the short message by hand, let's delegate this to libgit2 `git_commit_summary()` function.
Instead of extracting the short message by hand, let's delegate this to libgit2
git_commit_summary()function.