libgit2/libgit2 — pull request #1563 by arrbee (2013-05-09 13:47:51+00:00)
Title: Fix git_repository_message docs

This clarifies the docs for `git_repository_message` and also adds to the tests to explicitly check NUL termination of data when the output buffer is smaller than the message size. There is a minor behavior change so that a non-NULL output buffer will always be NUL terminated (at length zero) if an error occurs.

This addresses issue #1519