summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Haslam <jason@scitools.com>2015-05-20 14:26:05 -0600
committerJason Haslam <jason@scitools.com>2015-05-20 14:26:05 -0600
commitd30155f2f9135adc73025af7dce3386863ad121b (patch)
tree113c82c9fdffd794b72bb6f43ea725b4c4d66734
parentcd3f3c2844715b12583eb4d4a6129d3050f115a4 (diff)
downloadlibgit2-d30155f2f9135adc73025af7dce3386863ad121b.tar.gz
Fix error when building as C++.
-rw-r--r--include/git2/remote.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h
index ab14ad4dc..5c43136ac 100644
--- a/include/git2/remote.h
+++ b/include/git2/remote.h
@@ -561,7 +561,7 @@ typedef struct {
} git_fetch_options;
#define GIT_FETCH_OPTIONS_VERSION 1
-#define GIT_FETCH_OPTIONS_INIT { GIT_FETCH_OPTIONS_VERSION, GIT_REMOTE_CALLBACKS_INIT, 0, 1 }
+#define GIT_FETCH_OPTIONS_INIT { GIT_FETCH_OPTIONS_VERSION, GIT_REMOTE_CALLBACKS_INIT, GIT_FETCH_PRUNE_FALLBACK, 1 }
/**
* Initializes a `git_fetch_options` with default values. Equivalent to