Skip to content

Conversation

@brettbbonner
Copy link

First, thank you for a very useful utility!

This change set adds integrated support for a sparseCheckout option that directly performs a sparse checkout of the listed directories.

While attempting to use the git-external to do a sparse checkout, I originally tried a combination of cloneArgs and script support. This was OK on Linux, however I found that colleagues using Windows were unable to use script as Windows only allows running executables. Instead, I made these changes which let git-external itself set up the sparse-checkout. This both works on Windows and eliminates the need for a separate script, so it is cleaner.

I updated the usage info in the README to include the new option, also noting that script does not work on Windows. I also bumped the minimum Python to 3.7 in setup.py because the capture_output parameter for subprocess was introduced in 3.7; I discovered this when running on an old Ubuntu 18 system with Python 3.6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant