Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
petermr opened this issue Oct 20, 2020 · 1 comment

Comments

@petermr
Copy link
Owner

petermr commented Oct 20, 2020

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
Copy link
Owner Author

petermr commented Oct 20, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant