the name of the common ancestor side of conflicts
The expected content of the working directory; defaults to HEAD.
Like baseline above, though expressed as an index. This option overrides baseline.
default will be a safe checkout
default is 0755
don't apply filters like CRLF conversion
default is 0644 or 0755 as dictated by blob
default is O_CREAT | O_TRUNC | O_WRONLY
Optional callback to get notifications on specific file states. @see git_checkout_notify_t
see git_checkout_notify_t above
Payload passed to notify_cb
the name of the "our" side of conflicts
A list of wildmatch patterns or paths.
Optional callback to notify the consumer of performance data.
Payload passed to perfdata_cb
Optional callback to notify the consumer of checkout progress.
Payload passed to progress_cb
alternative checkout path to workdir
the name of the "their" side of conflicts
The version
Checkout options structure
Initialize with GIT_CHECKOUT_OPTIONS_INIT. Alternatively, you can use git_checkout_options_init.