Checkout options structure
Zero out for defaults. Initialize with GIT_CHECKOUT_OPTS_INIT
macro to
correctly set the version
field. E.g.
git_checkout_opts opts = GIT_CHECKOUT_OPTS_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