libgit2/libgit2 — pull request #1994 by palistov (2013-12-08 10:15:34+00:00)
Title: commti: Fix potential segfault & clarify commit summary generation

I'm not sure how the maintainers feel about inlining functions, but `git__is_summary_end` can easily be made into a macro, and is a very trivial proposed change.

Potential segfault is due to pointer dereference before asserting its vaildity.