Re: [PATCH v2 06/10] submodule: encode gitdir paths to avoid conflicts
On Mon, Sep 8, 2025, at 16:01, Adrian Ratiu wrote:
> Based on previous work by Brandon & all [1].
>
> This encodes submodule gitdir names to avoid colisions like nested gitdirs
> due to names like "foo" and "foo/bar".
>
> A custom encoding can become unnecesarily complex, while url-encoding is
s/unnecesarily/unnecessarily/
Show 5 quoted lines
> relatively well-known, however it needs some extending to support case
> insensitive filesystems and quirks like Windows reserving "COM1" names.
> Hence why I opted to encode A as _a, B as _b and so on.
>
>[snip]