> Le 29 nov. 2026 à 17:02, Yoichi NAKAYAMA via GitGitGadget <gitg…@gmail.com> a écrit :
>
> This series fixes issues with unusual submodule names.
>
> The first patch fixes 'git submodule deinit' failing to remove the
> configuration section for submodules whose names contain regexp
> metacharacters.
>
> The second patch rejects "." as a submodule name in 'git submodule add'.
> This avoids a confusing error and prevents an invalid submodule...gitdir
> entry from being written to the configuration when
> extensions.submodulePathConfig is enabled.
>
> * [1/2] submodule deinit: handle regexp metacharacters in names
> * [2/2] submodule add: reject "." as submodule name
>
> Yoichi NAKAYAMA (2):
> submodule deinit: handle regexp metacharacters in names
> submodule add: reject "." as submodule name
>
> builtin/submodule--helper.c | 26 +++++++++++++++++++++++---
> submodule-config.c | 4 ++--
> t/t7400-submodule-basic.sh | 28 ++++++++++++++++++++++++++++
> 3 files changed, 53 insertions(+), 5 deletions(-)
I gave this series a quick read, and the comments + code seem
like the right direction to me. A more detailed review is probably warranted,
but I figured a positive ack was better than nothing.