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

UnsafeFilenameError when using a folder name with dots #783

Open
expected-ingot opened this issue Oct 6, 2024 · 1 comment
Open

UnsafeFilenameError when using a folder name with dots #783

expected-ingot opened this issue Oct 6, 2024 · 1 comment

Comments

@expected-ingot
Copy link

That probably isn't the name of the error but I don't remember the correct one. When creating a folder with dots in the name, going to Git and attempting to push (or letting the plugin auto-push), each subsequent action will result in this error, even after you delete or rename the folder. The only solution afterwards is to delete the repository through the plugin and reclone it. In my case, I created a folder named "Freaky..", where I moved in 2 files named "stuff.md" and "stuff2.md", attempted to commit it, and then saw the error, renamed the folder to just "Freaky", and attempted to commit again. This resulted in the error. Please somehow fix this, or make folder names with invalid characters auto-rename to underscores.

Android

@Vinzent03
Copy link
Owner

Please follow the bug report issue template next time!
This is an issue from the underlying isomorphic-git library: https://github.com/isomorphic-git/isomorphic-git/blob/9103da548885b85dff89183d9ba654d23c6c3b09/src/models/GitIndex.js#L121
I may fix it, but don't know yet.

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

2 participants