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

cannot clone the repository #234

Open
ykurahara opened this issue May 6, 2022 · 3 comments
Open

cannot clone the repository #234

ykurahara opened this issue May 6, 2022 · 3 comments

Comments

@ykurahara
Copy link

I'm in trouble, thus strongly require to fix this issue.

I tried to clone the repository. But I can't and got the following errors;

MINGW64 ~/hoge
$ git clone https://github.com/dalehenrich/filetree.git
Cloning into 'filetree'...
remote: Enumerating objects: 16316, done.
remote: Counting objects: 100% (116/116), done.
remote: Compressing objects: 100% (59/59), done.
remote: Total 16316 (delta 51), reused 116 (delta 51), pack-reused 16200
Receiving objects: 100% (16316/16316), 2.99 MiB | 202.00 KiB/s, done.
Resolving deltas: 100% (8362/8362), done.
error: invalid path 'tests/testRepositories/ver03/Cypress-Mocks.pkg/snapshot/classes/CypressMockBasic.class/class/current:.st'
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 :/'

MINGW64 ~/hoge
$ ls
filetree/

MINGW64 ~/hoge
$ cd filetree/

MINGW64 ~/hoge/filetree (gemstone2.4)
$ ls

Cannot see any files!!

MINGW64 ~/hoge/filetree (gemstone2.4)
$ git restore --source=HEAD :/
error: invalid path 'tests/testRepositories/ver03/Cypress-Mocks.pkg/snapshot/classes/CypressMockBasic.class/class/current:.st'
error: invalid path 'tests/testRepositories/ver03/Cypress-Mocks.pkg/snapshot/classes/CypressMockBasic.class/instance/name:.st'
error: invalid path 'tests/testRepositories/ver04/Cypress-Mocks.tree/CypressMockBasic/name:.st'
error: invalid path 'tests/testRepositories/ver04/Cypress-Mocks.tree/CypressMockBasic_class/current:.st'

MINGW64 ~/hoge/filetree (gemstone2.4)
$ ls
README.md doc/ license.txt repository/ tests/ tode/

MINGW64 ~/hoge/filetree (gemstone2.4)
$

Best regards,
Yasuhiro Kurahara

@dalehenrich
Copy link
Owner

I'm guessing that you are trying to clone this repo on a windows machine ... Windows has trouble with long directory paths ... it has been several years since I have had to resolve a Windows-based issue and at the end of the day I think that you have to hack the repository paths to get it to clone to Windows ... GemStone doesn't run on Windows, so I'm not sure what you are planning on using the repository for ... if you are using Squeak and Pharo, I believe that folks that use those platforms can help you with your problem ...

@ThierryGoubier
Copy link
Collaborator

Hi @dalehenrich, @ykurahara. Have you tried to enable long paths support in Windows and git? According to https://gist.github.com/leodutra/a25bc1f51e8779943df0a95d5a4839d1, you may have to change a windows setting
and enable git long paths support with git config --system core.longpaths true.

@dalehenrich
Copy link
Owner

Thanks @ThierryGoubier! I do use git on Windows ... but it is good to know that there is a solution out there...

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

3 participants