Brandon Williams <bmwill@xxxxxxxxxx> writes: > Introduce the config "submodule.<name>.gitdirpath" which is used to > indicate where a submodule's gitdir is located inside of a repository's > "modules" directory. > > Signed-off-by: Brandon Williams <bmwill@xxxxxxxxxx> > --- > > Maybe something like this on top? Do you think we should disallow > "../" in this config, even though it is a repository local > configuration and not shipped in .gitmodules? Sounds sensible to start strict and loosen later if/when necessary. If we disallow "../", shouldn't we also reject an absolute path (meaning, you can only specify a subdirectory of $GIT_DIR/modules/ in the super-project)?