libgit2/libgit2 — pull request #2683 by carlosmn (2014-11-02 20:59:01+00:00)
Title: remote: unify the creation code

The create function with default refspec is the same as the one with a
custom refspec, but it has the default refspec, so we can create the one
on top of the other.