public Repo (string path)
{
- Git.Repository.open(this.repo , path);
+ Git.Repository.open(out this.repo , path);
}
-
-
-
-
-bool push(git_repository *repository)
- {
-
- git_repository* repository;
- // get the remote.
+ public void push()
+ {
+ string_array remotes;
+ this.repo.get_remote_list(out remotes);
+
+ foreach(var rem in remotes.strings) {
+ Git.Remote remote;
+ this.repo.get_remote(out remote, rem_name);
+
+
+ // get the remote.
git_remote* remote = NULL;
git_remote_lookup( &remote, repository, "origin" );