libgit2

git_push_options

Version:

Controls the behavior of a git_push object.

Signature

typedef struct git_push_options { unsigned int version unsigned int pb_parallelism git_remote_callbacks callbacks git_proxy_options proxy_opts git_remote_redirect_t follow_redirects git_strarray custom_headers };

Members

unsigned int
version
unsigned int
pb_parallelism

If the transport being used to push to the remote requires the creation of a pack file, this controls the number of worker threads used by the packbuilder when creating that pack file to be sent to the remote.

If set to 0, the packbuilder will auto-detect the number of threads to create. The default value is 1.

callbacks

Callbacks to use for this push operation

proxy_opts

Proxy options to use, by default no proxy is used.

follow_redirects

Whether to allow off-site redirects. If this is not specified, the http.followRedirects configuration setting will be consulted.

custom_headers

Extra headers for this push operation

Parameter To

Versions