Commit 468d0d1e1ea9063aada62e5fc810837f43083947

Vicent Marti 2011-09-19T06:32:56

Fix `repository_config` call in network::remotes

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tests-clay/network/remotes.c b/tests-clay/network/remotes.c
index a7cc742..ae8d89f 100644
--- a/tests-clay/network/remotes.c
+++ b/tests-clay/network/remotes.c
@@ -11,7 +11,7 @@ void test_network_remotes__initialize(void)
 {
 	cl_fixture_sandbox(REPOSITORY_FOLDER);
 	cl_git_pass(git_repository_open(&repo, REPOSITORY_FOLDER));
-	cl_git_pass(git_repository_config(&cfg, repo, NULL, NULL));
+	cl_git_pass(git_repository_config(&cfg, repo, NULL));
 	cl_git_pass(git_remote_get(&remote, cfg, "test"));
 	refspec = git_remote_fetchspec(remote);
 	cl_assert(refspec != NULL);