libgit2/libgit2 — pull request #1798 by arrbee (2013-08-19 17:46:32+00:00)
Title: Don't try to pack symbolic refs

If there were symbolic refs among the loose refs then the code to create packed-refs would fail trying to parse the OID out of them (where Git just skips trying to pack them). This fixes it.