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

Checkout v0.2 fails ... #50

Closed
zone-b opened this issue Feb 28, 2020 · 3 comments
Closed

Checkout v0.2 fails ... #50

zone-b opened this issue Feb 28, 2020 · 3 comments
Labels

Comments

@zone-b
Copy link

zone-b commented Feb 28, 2020

FYI,

Git (for Windows!) cannot checkout the repository due to the below file name:

git clone https://github.com/roboyoshi/datacurator-filetree.git
Cloning into 'datacurator-filetree'...
remote: Enumerating objects: 64, done.
remote: Counting objects: 100% (64/64), done.
remote: Compressing objects: 100% (50/50), done.
remote: Total 634 (delta 10), reused 46 (delta 3), pack-reused 570
Receiving objects: 100% (634/634), 1.62 MiB | 2.01 MiB/s, done.
Resolving deltas: 100% (223/223), done.
**error: invalid path 'root/audio/books/Rowling, J. K./J. K. Rowling - [Harry Potter 01] - Harry Potter and the Philosopher's Stone.m4b'**
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 :/'

Cheers,
Borg

@roboyoshi
Copy link
Owner

Hey @zone-b , thanks a lot for the report. I should def. do cross-os testing so this does not happen, especially when the repository is aimed to be a "standard" that works across multiple systems...!

@roboyoshi roboyoshi added the bug label Mar 2, 2020
@zone-b
Copy link
Author

zone-b commented Mar 2, 2020

Hi roboyoshi,
you can easily set up an pre-commit hook:
https://github.com/t-b/git-pre-commit-hook-windows-filenames
Cheers,
Borg

@roboyoshi
Copy link
Owner

This should be resolved now.

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

No branches or pull requests

2 participants