libgit2/libgit2 — pull request #2072 by ethomson (2014-01-22 19:45:15+00:00)
Title: Summarize empty messages

When a commit message is empty or consists only of whitespace, the summary should be the empty string. `git_buf_detach`ing an empty buffer returns NULL. Duh.