libgit2/libgit2 — pull request #1044 by dahlbyk (2012-11-05 03:34:59+00:00)
Title: Fix state when HEAD is not detached

For some states (merge, revert) it's not correct to quit early if HEAD is not detached.

Also, an unrelated README fix.