libgit2/libgit2 — pull request #2475 by joshaber (2014-07-16 00:28:55+00:00)
Title: Export git_buf_text_is_binary and git_buf_text_contains_nul.

So that users don’t need to implement binary detection themselves.