libgit2/libgit2sharp — Issue #101: Return a Repository instance when doing Init or Clone
Author: uluhonolulu
Created: 2012-01-24 16:18:03+00:00
State: open

Why do you want to return the path to the new repository instead of the repository object? I find the actual repo path not as relevant as a reference to the actual repo instance. Instead of doing

```C#
var path = Repository.Init();
var repo = new Repository(path);
```

why not just `var repo = Repository.Init()?` Same with `Clone`, don't you think it would be more convenient to return the instance of the repository (which is being created inside the method anyway)?