Checkout options structure
Zero out for defaults. Initialize with GIT_CHECKOUT_OPTIONS_INIT
macro to
correctly set the version
field. E.g.
git_checkout_options opts = GIT_CHECKOUT_OPTIONS_INIT;
default will be a dry run
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
When not zeroed out, array of fnmatch patterns specifying which paths should be taken into account, otherwise all files. Use GIT_CHECKOUT_DISABLE_PATHSPEC_MATCH to treat as simple list.
expected content of workdir, defaults to HEAD
alternative checkout path to workdir
the name of the common ancestor side of conflicts
the name of the "our" side of conflicts