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
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2012-11-28 01:15:43 +0400
committerBen Straub <bs@github.com>2012-11-28 01:19:49 +0400
commitdf705148ecc0d0a4c78f7a3b0903527918e38149 (patch)
tree89d5d71d0b2fc45182a884e4aa64a7b4338d7f7d /tests-clar/fetchhead
parent74f9132212a1c634c45241852dbd8564427e964b (diff)
API updates for remote.h
Includes typedef for git_direction, and renames for GIT_DIR_[FETCH|PUSH] to GIT_DIRECTION_(\1).
Diffstat (limited to 'tests-clar/fetchhead')
-rw-r--r--tests-clar/fetchhead/network.c2
1 files changed, 1 insertions, 1 deletions
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);