petermr / ami3

Integration of cephis and normami code into a single base. Tests will be slimmed down
Apache License 2.0
17 stars 5 forks source link

`git clone` "Filename too long warning: Clone succeeded, but checkout failed." #69

Open petermr opened 3 years ago

petermr commented 3 years ago

From Priya:

Resolving deltas: 100% (40487/40487), done.
fatal: cannot create directory at 'src/test/resources/org/contentmine/ami/zika10/_summary/Users/pm286/workspace/cmdev/ami3/target/files/junk/summary1x/0_PMC320490/sections/1_body/1_materials_and_methods/3_biological_experimental_p/1_in_vivo': Filename too long
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'
petermr commented 3 years ago

This is a known problem for Windows. See

https://stackoverflow.com/questions/22575662/filename-too-long-in-git-for-windows

It occurs because there are many nested sections in the document.

However I think the offending files shouldn't be there and I have deleted them and recommitted. Please try again.