libgit2/libgit2 — pull request #1560 by carlosmn (2013-05-08 00:32:04+00:00)
Title: Expose git_reference_dwim

Extract this function out of the rev-parse code to be able to DWIM a
reference instead of its target.