summaryrefslogtreecommitdiff
path: root/tests-clar/network/push.c
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2012-12-20 10:51:09 -0800
committerBen Straub <bs@github.com>2012-12-20 10:52:57 -0800
commit29f27599eab750d2b4b8935a14be8b596b7affe2 (patch)
tree7ee49c6386cc18d59969ab5d21805ed0624f9df0 /tests-clar/network/push.c
parent316bca697f16e6fc0c9ecc943e84e9af3b39812b (diff)
downloadlibgit2-29f27599eab750d2b4b8935a14be8b596b7affe2.tar.gz
Rename remote creation APIs
git_remote_add -> git_remote_create git_remote_new -> git_remote_create_inmemory
Diffstat (limited to 'tests-clar/network/push.c')
-rw-r--r--tests-clar/network/push.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests-clar/network/push.c b/tests-clar/network/push.c
index cecb5ba42..5f0a80cc4 100644
--- a/tests-clar/network/push.c
+++ b/tests-clar/network/push.c
@@ -166,7 +166,7 @@ void test_network_push__initialize(void)
_remote = NULL;
if (_remote_url) {
- cl_git_pass(git_remote_add(&_remote, _repo, "test", _remote_url));
+ cl_git_pass(git_remote_create(&_remote, _repo, "test", _remote_url));
git_remote_set_cred_acquire_cb(_remote, cred_acquire_cb, &cred_acquire_called);
record_callbacks_data_clear(&_record_cbs_data);