From: Junio C Hamano Date: Mon, 07 Dec 2020 19:56:54 GMT Subject: Re: [PATCH v2] submodules: fix of regression on fetching of non-init subsub-repo Message-ID: In-Reply-To: <613FAD04-0D5A-4DE0-8FE8-0C5C5619B7BC@gmail.com> Philippe Blain writes: > I would maybe add more details here, something like the following > (we can cite your previous attempt, because it was merged to 'master'): > > The first attempt to fix this regression, in 1b7ac4e6d4 > (submodules: fix of regression on fetching of non-init > subsub-repo, 2020-11-12), by simply reverting a62387b, resulted in > an infinite loop of submodule fetches in the simpler case of a > recursive fetch of a superproject with uninitialized submodules, > and so this commit was reverted in 7091499bc0 (Revert "submodules: > fix of regression on fetching of non-init subsub-repo", > 2020-12-02). To prevent future breakages, also add a regression > test for this scenario. Forgot to mention in my other response, but I do find this a very sensible addition. Thanks.