libgit2/libgit2 — pull request #2597 by ethomson (2014-10-03 23:36:52+00:00)
Title: Trivial fixups

1. Use `p_mkdir` instead of `mkdir`
2. Clear the error in `git_repository_head_unborn` when the HEAD is, in fact, unborn