Currently, running info with the --redact flag calculates relative paths from the cwd. This is fine. By default, the repository root and project root should not be different. But if they do, the relative paths still leak the single path names. They should be replaced with placeholders (e.g. letters of the standard English alphabet).
It's also important to consider filesystem case-sensitivity when comparing and mapping path parts to placeholders.
Currently, running
info
with the--redact
flag calculates relative paths from the cwd. This is fine. By default, the repository root and project root should not be different. But if they do, the relative paths still leak the single path names. They should be replaced with placeholders (e.g. letters of the standard English alphabet).It's also important to consider filesystem case-sensitivity when comparing and mapping path parts to placeholders.