From df705148ecc0d0a4c78f7a3b0903527918e38149 Mon Sep 17 00:00:00 2001 From: Ben Straub Date: Tue, 27 Nov 2012 13:15:43 -0800 Subject: API updates for remote.h Includes typedef for git_direction, and renames for GIT_DIR_[FETCH|PUSH] to GIT_DIRECTION_(\1). --- tests-clar/fetchhead/network.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests-clar/fetchhead') diff --git a/tests-clar/fetchhead/network.c b/tests-clar/fetchhead/network.c index 0710480cd..46cb977e0 100644 --- a/tests-clar/fetchhead/network.c +++ b/tests-clar/fetchhead/network.c @@ -46,7 +46,7 @@ static void fetchhead_test_fetch(const char *fetchspec, const char *expected_fet if(fetchspec != NULL) git_remote_set_fetchspec(remote, fetchspec); - cl_git_pass(git_remote_connect(remote, GIT_DIR_FETCH)); + cl_git_pass(git_remote_connect(remote, GIT_DIRECTION_FETCH)); cl_git_pass(git_remote_download(remote, NULL, NULL)); cl_git_pass(git_remote_update_tips(remote)); git_remote_disconnect(remote); -- cgit v1.2.1