ycm-cmake-modules icon indicating copy to clipboard operation
ycm-cmake-modules copied to clipboard

Use git to checkout files instead of using the download url from github

Open drdanz opened this issue 11 years ago • 1 comments

Instead of downloading the files from raw.githubusercontent.com, it might be possible to checkout only one file, see https://stackoverflow.com/questions/2466735/checkout-only-one-file-from-git

Requires git >= 1.7.9.5 and tar, so while the first might ok, the latter might be a problem on windows, we should test if it works

This could eventually also be a feature in IncludeUrl

drdanz avatar May 21 '14 18:05 drdanz

Note: Instead of tar, we could use cmake -E tar

drdanz avatar Oct 21 '15 23:10 drdanz