summaryrefslogtreecommitdiff
path: root/src/clone.c
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2012-11-27 13:15:43 -0800
committerBen Straub <bs@github.com>2012-11-27 13:19:49 -0800
commitdf705148ecc0d0a4c78f7a3b0903527918e38149 (patch)
tree89d5d71d0b2fc45182a884e4aa64a7b4338d7f7d /src/clone.c
parent74f9132212a1c634c45241852dbd8564427e964b (diff)
downloadlibgit2-df705148ecc0d0a4c78f7a3b0903527918e38149.tar.gz
API updates for remote.h
Includes typedef for git_direction, and renames for GIT_DIR_[FETCH|PUSH] to GIT_DIRECTION_(\1).
Diffstat (limited to 'src/clone.c')
-rw-r--r--src/clone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clone.c b/src/clone.c
index c90d85466..7d49b398b 100644
--- a/src/clone.c
+++ b/src/clone.c
@@ -278,7 +278,7 @@ static int setup_remotes_and_fetch(
git_remote_set_update_fetchhead(origin, 0);
/* Connect and download everything */
- if (!git_remote_connect(origin, GIT_DIR_FETCH)) {
+ if (!git_remote_connect(origin, GIT_DIRECTION_FETCH)) {
if (!git_remote_download(origin, progress_cb, progress_payload)) {
/* Create "origin/foo" branches for all remote branches */
if (!git_remote_update_tips(origin)) {