libgit2/libgit2 — pull request #2675 by swisspol (2014-10-29 06:59:51+00:00)
Title: Fixed git_remote_write_fetchhead() to handle tag refspecs

This should fix the 2nd part of #2674.

When passed a `refs/tags/` type of refspec, `git_remote_write_fetchhead()` was attempting to call `git_refspec_rtransform()` on it in order to figure out merge information for the FETCH_HEAD file.