libgit2/libgit2 — pull request #899 by schu (2012-08-27 09:59:04+00:00)
Title: revwalk: refuse push of non-commit objects

Check the type of the pushed object immediately instead of starting the
walk and failing in between.