cortesi / modd

A flexible developer tool that runs processes and responds to filesystem changes
MIT License
2.8k stars 128 forks source link

Have to use sparse-checkout on windows because of '*' in some test filenames #42

Closed skyler-murray closed 7 years ago

skyler-murray commented 7 years ago

In this directory and it's sub directories there are a few files with a '*' in the filename.

https://github.com/cortesi/modd/tree/master/vendor/github.com/bmatcuk/doublestar/test

Because of this I had to use sparse-checkout on windows to be able to clone this repo.

For those interested this is the work around:

Run this command: git config core.sparseCheckout true

Add this file: .git/info/sparse-checkout with this in it:


/*
!vendor/github.com/bmatcuk/doublestar/test/```

Then you'll be able to checkout the rest of the repo normally
cortesi commented 7 years ago

Thanks - this has just been fixed in a dependency update.