You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve config.toml vs config symlink check on Unix
The code attempts to suppress the warning if `config` is merely a
symlink to `config.toml`. But it does this by calling readlink and
comparing the result textually.
That's not ideal because it depends on the precise spelling
(`config.toml` vs `./config.toml` vs `/path/to/config.toml`)
and also minds whether it's config.toml -> config, or v.v.
On Unix, where we can get st_dev and st_ino, use that to suppress the
check when the two names resolve to the same underlying file.
0 commit comments