Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2015-05-13 21:26:20 +0300
committerEdward Thomson <ethomson@edwardthomson.com>2015-05-13 21:26:20 +0300
commitcd430bc786877794b820b045ce610d2ac78036b3 (patch)
tree74e5d5c4d10f2af65391e21e9effd84707a21d44 /tests
parent2ec73fa9ed0bdd06b122b63de97222fd983c7774 (diff)
parent0bc3d56dde896483a65855adbeac016cf792f532 (diff)
Merge pull request #3103 from libgit2/cmn/local-push-message
Use the packbuilder in local push
Diffstat (limited to 'tests')
-rw-r--r--tests/network/remote/local.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/network/remote/local.c b/tests/network/remote/local.c
index 21cb93c57..9d96184a2 100644
--- a/tests/network/remote/local.c
+++ b/tests/network/remote/local.c
@@ -217,7 +217,7 @@ void test_network_remote_local__push_to_bare_remote(void)
cl_git_pass(git_remote_connect(localremote, GIT_DIRECTION_PUSH, NULL));
/* Try to push */
- cl_git_pass(git_remote_upload(remote, &push_array, NULL));
+ cl_git_pass(git_remote_upload(localremote, &push_array, NULL));
/* Clean up */
git_remote_free(localremote);
@@ -256,7 +256,7 @@ void test_network_remote_local__push_to_bare_remote_with_file_url(void)
cl_git_pass(git_remote_connect(localremote, GIT_DIRECTION_PUSH, NULL));
/* Try to push */
- cl_git_pass(git_remote_upload(remote, &push_array, NULL));
+ cl_git_pass(git_remote_upload(localremote, &push_array, NULL));
/* Clean up */
git_remote_free(localremote);