Skip to content

Subdirectories can't have name .jj? (reserved path component) #5469

Answered by ilyagr
heygarrett asked this question in Q&A
Discussion options

You must be logged in to vote

This seems dangerous. If you have something/.jj, and run jj from the something dir, there'd be no way for jj to know that something/.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 up something/.jj/config.toml to do something malicious.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@heygarrett
Comment options

Answer selected by heygarrett
Comment options

You must be logged in to vote
2 replies
@heygarrett
Comment options

@ilyagr
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants