summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2015-05-21 06:32:29 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2015-05-21 06:32:29 +0200
commit5d74fb78392d62c6920de466ce461c9d44340bf1 (patch)
tree73acc17f1977280a6c309f6d07e72f7f5c03a99d
parent6675aaba883952a1c1b28390866301ee5c281d37 (diff)
parentd30155f2f9135adc73025af7dce3386863ad121b (diff)
downloadlibgit2-5d74fb78392d62c6920de466ce461c9d44340bf1.tar.gz
Merge pull request #3145 from stinb/fix_cxx_build
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