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_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

custom_headers

Extra headers for this push operation

Parameter To

Versions