libgit2/libgit2sharp — pull request #114 by Haacked (2012-02-24 05:15:56+00:00)
Title: Setting a remote named "origin" doesn't save it properly.

Please take a look at the two unit tests I added. I think they should pass, but they fail. The problem seems to be that setting the origin url doesn't allow you to retrieve the setting you just saved.

If you create a new instance of repository pointing to the same directory, you can retrieve it via the `Configuration` property of `Repository`.

However, in all cases, `repository.Remotes["origin"]` returns null.