mirror of https://github.com/KLayout/klayout.git
Git support: default checkout strategy to 'force' to support older versions of libgit2
This commit is contained in:
parent
b56220d36d
commit
2ed44e27ad
|
|
@ -271,6 +271,7 @@ GitObject::read (const std::string &org_url, const std::string &org_filter, cons
|
|||
// build checkout options
|
||||
|
||||
git_checkout_options checkout_opts = GIT_CHECKOUT_OPTIONS_INIT;
|
||||
checkout_opts.checkout_strategy = GIT_CHECKOUT_FORCE;
|
||||
|
||||
const char *paths_cstr[1];
|
||||
paths_cstr[0] = filter.c_str ();
|
||||
|
|
|
|||
Loading…
Reference in New Issue