-
-
Notifications
You must be signed in to change notification settings - Fork 934
Index.add fail silently when path contains character [
#680
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
Comments
Thanks for creating this ticket and for providing some steps to reproduce it right away. Even though I didn’t reproduce the issue yet as I am on an iPad, and thus acknowledge it in good faith, I wonder if you tried it on non-windows already. |
Have not written the test yet but I have managed to reproduce it on Linux (Ubuntu 17.04) Here are the steps
In python:
A colleague suggested this may be due to the way you use glob. |
@olethanh Thanks a lot for making the issue more approachable! Do you think that as a workaround, it's possible to use git directly, such as in |
Yes, that's the workaround we used in our project in the end. |
in the PR, if a path with glob characters exists as such, it is also yielded |
@sdementen Review comments were added to the linked PR. |
Hello,
on windows when the path passed as an argument given to index.add contains a
[
, the function just return an empty list, whether or not the path exists.Kind Regards and thanks for this project
The text was updated successfully, but these errors were encountered: