cql-engine icon indicating copy to clipboard operation
cql-engine copied to clipboard

checkout fails on git/windows

Open fhirfly opened this issue 3 years ago • 2 comments

I get this while cloning your repo in Windoze error: unable to create file engine.jaxb/src/test/resources/org/opencds/cqf/cql/engine/execution/ElmTests/Regression/qdm/CoronaryArteryDiseaseCADBetaBlockerTherapyPriorMyocardialInfarctionMIorLeftVentricularSystolicDysfunctionLVEF40-8.2.000.cql: Filename too long error: unable to create file engine.jaxb/src/test/resources/org/opencds/cqf/cql/engine/execution/ElmTests/Regression/qdm/CoronaryArteryDiseaseCADBetaBlockerTherapyPriorMyocardialInfarctionMIorLeftVentricularSystolicDysfunctionLVEF40-8.2.000.json: Filename too long error: unable to create file engine.jaxb/src/test/resources/org/opencds/cqf/cql/engine/execution/ElmTests/Regression/qdm/CoronaryArteryDiseaseCADBetaBlockerTherapyPriorMyocardialInfarctionMIorLeftVentricularSystolicDysfunctionLVEF40-8.2.000.xml: Filename too long fatal: unable to checkout working tree warning: Clone succeeded, but checkout failed. You can inspect what was checked out with 'git status' and retry with 'git restore --source=HEAD :/'

fhirfly avatar Jul 13 '22 04:07 fhirfly

This might help.

git config --system core.longpaths true

https://stackoverflow.com/a/22575737/2280259

numerus30 avatar Jul 28 '22 17:07 numerus30

We will add this documentation to the readme. Some of our test files are quite long and require that setting

brynrhodes avatar Aug 04 '22 14:08 brynrhodes