libgit2/libgit2 — pull request #785 by nulltoken (2012-06-22 16:43:29+00:00)
Title: Topic/refs fromglob

This PR extracts some logic from `git_revwalk_(push|hide)_glob()` and introduces a new function: `git_reference_fromglob()`.

**Note:** This includes the #784 fix.