libgit2/libgit2 — pull request #662 by carlosmn (2012-05-03 14:32:01+00:00)
Title: Add git_remote_add()

A simple helper function that's been sitting as a bug report for a while. The order of (name, url) here are opposite of the one in `git_remote_new()`. The problem is that they both make sense for the use-case.

Should I change `git_remote_new()` so it uses (name, url) instead of (url, name)?

This also includes a fix for some pointer problems I discovered while failing to use my own API.