libgit2 / pygit2

Python bindings for libgit2
https://www.pygit2.org/
Other
1.61k stars 385 forks source link

checkout: support GIT_CHECKOUT_SKIP_LOCKED_DIRECTORIES #1087

Closed pmrowla closed 3 years ago

pmrowla commented 3 years ago

Adds GIT_CHECKOUT_SKIP_LOCKED_DIRECTORIES constant. This checkout strategy is needed when checking out directories on windows which may be opened in other processes, which will cause the OS to prevent removing the directory.