vendor/libgit2/src/fetch.c in rugged-1.0.1 vs vendor/libgit2/src/fetch.c in rugged-1.1.0
- old
+ new
@@ -153,9 +153,11 @@
GIT_INIT_STRUCTURE_FROM_TEMPLATE(
opts, version, git_fetch_options, GIT_FETCH_OPTIONS_INIT);
return 0;
}
+#ifndef GIT_DEPRECATE_HARD
int git_fetch_init_options(git_fetch_options *opts, unsigned int version)
{
return git_fetch_options_init(opts, version);
}
+#endif