Repository navigation
fix: Don't fail on symlinks to folders - #10426
Leonidas-from-XIV wants to merge 1 commit into
Conversation
Signed-off-by: Marek Kubica <[email protected]>
f0c0fdd to
d4f5aa9
Compare
|
@Sudha247 reminded me of this PR so out of curiosity I rebased it and it still seems to just work, so I'm marking it as ready to review. Maybe the review will reveal what the idea behind disallowing directories originally was. |
|
Things that I would check:
|
My first reaction to this is, it's probably okay..? If I have a local project that I'm building with dune and have added an absolute path on my local system as a symlink, it might break in a different scenario, but I'd still expect it to work on the current setup. It'd be good to have a test for this, though.
Same thoughts as above.
Good point, will be good to check. |
|
More questions here: This is probably the reason for the restriction today. |
|
Closing with the same reason as #12613:
|
Trying to figure out why it the code was forbidding symlinks to folders, but in my tests nothing breaks so if there is a reason for this restriction it is unclear.
Fixes #9873 and the reproduction cases of #9276 and #9874 but is essentially a duplicate of #9937.