diff options
| author | Vicent Martà <vicent@github.com> | 2013-05-31 06:01:59 -0700 |
|---|---|---|
| committer | Vicent Martà <vicent@github.com> | 2013-05-31 06:01:59 -0700 |
| commit | 8d863aa20595f2645840a5735805509f32d7c873 (patch) | |
| tree | c271b6efe403f5ab6ff493f63d084a9e9adf8524 /include/git2 | |
| parent | 9afc59710ebfd63f0265aec79bc5388e610935a1 (diff) | |
| parent | 883929144d785702f783e956ff55434566cb009f (diff) | |
| download | libgit2-8d863aa20595f2645840a5735805509f32d7c873.tar.gz | |
Merge pull request #1621 from NHDaly/clone_transport_flags
Added support for setting transport flags (No check SSL cert) to git_clo...
Diffstat (limited to 'include/git2')
| -rw-r--r-- | include/git2/clone.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/git2/clone.h b/include/git2/clone.h index 20df49104..5858b4e32 100644 --- a/include/git2/clone.h +++ b/include/git2/clone.h @@ -51,6 +51,8 @@ GIT_BEGIN_DECL * - `cred_acquire_cb` is a callback to be used if credentials are required * during the initial fetch. * - `cred_acquire_payload` is the payload for the above callback. + * - `transport_flags` is flags used to create transport if no transport is + * provided. * - `transport` is a custom transport to be used for the initial fetch. NULL * means use the transport autodetected from the URL. * - `remote_callbacks` may be used to specify custom progress callbacks for @@ -75,6 +77,7 @@ typedef struct git_clone_options { const char *push_spec; git_cred_acquire_cb cred_acquire_cb; void *cred_acquire_payload; + git_transport_flags_t transport_flags; git_transport *transport; git_remote_callbacks *remote_callbacks; git_remote_autotag_option_t remote_autotag; |
