summaryrefslogtreecommitdiff
path: root/src/fetch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fetch.c')
-rw-r--r--src/fetch.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/fetch.c b/src/fetch.c
index ea499dd41..f2f313192 100644
--- a/src/fetch.c
+++ b/src/fetch.c
@@ -148,9 +148,14 @@ int git_fetch_download_pack(git_remote *remote, const git_remote_callbacks *call
return t->download_pack(t, remote->repo, &remote->stats, progress, payload);
}
-int git_fetch_init_options(git_fetch_options *opts, unsigned int version)
+int git_fetch_options_init(git_fetch_options *opts, unsigned int version)
{
GIT_INIT_STRUCTURE_FROM_TEMPLATE(
opts, version, git_fetch_options, GIT_FETCH_OPTIONS_INIT);
return 0;
}
+
+int git_fetch_init_options(git_fetch_options *opts, unsigned int version)
+{
+ return git_fetch_options_init(opts, version);
+}