[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] gitmodules: recurse by default
From: |
Peter Maydell |
Subject: |
Re: [PATCH] gitmodules: recurse by default |
Date: |
Thu, 6 Oct 2022 16:23:58 +0100 |
On Thu, 6 Oct 2022 at 16:13, Philippe Mathieu-Daudé via
<qemu-devel@nongnu.org> wrote:
>
> Hi Michael,
>
> On 6/10/22 13:39, Michael S. Tsirkin wrote:
> > The most commmon complaint about submodules is that
>
> Typo "common"
>
> > they don't follow when one switches branches in the
> > main repo. Enable recursing into submodules by default
> > to address that.
> >
> > Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> > ---
> > .gitmodules | 23 +++++++++++++++++++++++
> > 1 file changed, 23 insertions(+)
>
> We have 3 kinds of submodule (or more?):
> 1/ required to *build* QEMU
> 2/ required to *test* QEMU
> 3/ only here for satisfies license of firmware blobs shipped with QEMU.
>
> IIUC, long-term we want to move 3/ in another repository.
>
> Could we only set "recurse=true" for 1/ ?
>
> What is your use-case? Do we need it also for 2/ ?
I think if we're going to change the git handling of submodules
from the default, it's probably going to be less confusing if
all our submodules behave the same way, rather than some being
the git-default and some the recurse=true behaviour. Assuming
there's no reason why we would need some submodules to keep
the recurse=false behaviour, of course...
-- PMM
- [PATCH] gitmodules: recurse by default, Michael S. Tsirkin, 2022/10/06
- Re: [PATCH] gitmodules: recurse by default, Peter Maydell, 2022/10/06
- Re: [PATCH] gitmodules: recurse by default, Philippe Mathieu-Daudé, 2022/10/06
- Re: [PATCH] gitmodules: recurse by default, Daniel P . Berrangé, 2022/10/06
- Re: [PATCH] gitmodules: recurse by default, Michael S. Tsirkin, 2022/10/06
- Re: [PATCH] gitmodules: recurse by default, Daniel P . Berrangé, 2022/10/07
- Re: [PATCH] gitmodules: recurse by default, Michael S. Tsirkin, 2022/10/07
- Re: [PATCH] gitmodules: recurse by default, Daniel P . Berrangé, 2022/10/07
- Re: [PATCH] gitmodules: recurse by default, Daniel P . Berrangé, 2022/10/07
- Re: [PATCH] gitmodules: recurse by default, Michael S. Tsirkin, 2022/10/11
- Re: [PATCH] gitmodules: recurse by default, Daniel P . Berrangé, 2022/10/12
- Re: [PATCH] gitmodules: recurse by default, Michael S. Tsirkin, 2022/10/12