Checkout options structure
Initialize with GIT_CHECKOUT_OPTIONS_INIT
. Alternatively, you can
use git_checkout_options_init
.
The version
default will be a safe checkout
don't apply filters like CRLF conversion
default is 0755
default is 0644 or 0755 as dictated by blob
default is O_CREAT | O_TRUNC | O_WRONLY
Payload passed to notify_cb
Payload passed to progress_cb
A list of wildmatch patterns or paths.
By default, all paths are processed. If you pass an array of wildmatch patterns, those will be used to filter which paths should be taken into account.
Use GIT_CHECKOUT_DISABLE_PATHSPEC_MATCH to treat as a simple list.
The expected content of the working directory; defaults to HEAD.
If the working directory does not match this baseline information, that will produce a checkout conflict.
Like baseline
above, though expressed as an index. This option overrides baseline
.
alternative checkout path to workdir
the name of the common ancestor side of conflicts
the name of the "our" side of conflicts
the name of the "their" side of conflicts
Payload passed to perfdata_cb