Subdirectories can't have name .jj
? (reserved path component)
#5469
-
I tried to clone Prettier, but got an error:
It turns out that the repo has a subdirectory with the name Regardless of whether it's something that's addressed in the Prettier repo, is it not possible to support subdirectories with the name |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
This seems dangerous. If you have A malicious repo could also try to intentionally confuse |
Beta Was this translation helpful? Give feedback.
-
Directory named |
Beta Was this translation helpful? Give feedback.
This seems dangerous. If you have
something/.jj
, and runjj
from thesomething
dir, there'd be no way forjj
to know thatsomething/.jj
is not the "actual".jj
and that it's supposed to look at.jj
from the parent dir.A malicious repo could also try to intentionally confuse
jj
and set upsomething/.jj/config.toml
to do something malicious.