Thread (13 messages) 13 messages, 6 authors, 2021-11-19

Re: [PATCH] submodule: absorb git dir instead of dying on deinit

flat view

From: Mugdha Pattnaik <hidden>
Date: 2021-08-27 13:13:36

On Fri, Aug 27, 2021 at 1:21 PM Bagas Sanjaya [off-list ref] wrote:
Maybe the case of "repo inside the repo", with submodule as repo?
I am not certain what exactly you meant, but this patch deals with "Old-form"
submodules. This link (https://git-scm.com/docs/gitsubmodules#_forms)
states that old-style submodules, when deinitialized or deleted, have its Git
directory automatically moved to $GIT_DIR/modules/<name>/ of the
superproject. This is what this patch sets to achieve. Earlier, running deinit
on such a submodule would cause it to fail.

--
Mugdha
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help