libgit2/libgit2 — pull request #1004 by nulltoken (2012-10-20 14:55:42+00:00)
Title: More orphaned head love

Make `git_reset()` cope with an orphaned HEAD

--

*"Don’t lose your head, Hear what I say."*