On Wed, 19 Aug 2020 11:03:30 -0700 Junio C Hamano wrote: > Lukas Straub writes: > > > These patches allow this and work well in a quick test. Of course some tests > > fail because with this the handling of nested git repos changed. > > In other words, this breaks the workflow existing users rely on, > right? I do not know if such a behaviour ever needs to exist even > as an opt-in feature, but it definitely feels wrong to make the > behaviour these patches introduce the default. Well, the current behavior is that nested repos (that are not submodules) are completely ignored and none of the files within can be added. So the old behavior can be restored with .gitignore. The same goes for files/dirs named .git. Of course I don't know what the current policy for behavioral changes in git is, but I see that there have been such changes in the past. Regards, Lukas Straub > Thanks.