eos-vm icon indicating copy to clipboard operation
eos-vm copied to clipboard

Git pull/checkout/clone fails on Windows

Open ethindp opened this issue 5 years ago • 2 comments

Attempting to integrate this into CMake with the ExternalProject module. Git pull fails with various errors on Windows only; files (pretty much tests) include characters that give "invalid argument" errors (mainly colons and other characters disallowed by Windows in filenames). Is there a way this can either be fixed or ignored? As a result of this, git fails with the following error when pulling:

fatal: Could not reset index file to revision 'HEAD'.
Cannot rebase: You have unstaged changes.
Please commit or stash them.
No rebase in progress?

ethindp avatar Dec 10 '19 20:12 ethindp

Update: I could do a sparse checkout, but I don't want to affect the tests. If I ignore the tests folder, will CMake still be able to build the project?

ethindp avatar Dec 10 '19 20:12 ethindp

Yes, you can pass -DENABLE_TESTS=Off to the command line and this will ignore the tests. But, currently we only support Unixish machines, so Windows would need work to handle memory allocations and the way we do guard paging and timer failures.

larryk85 avatar Dec 18 '19 16:12 larryk85