Re: Re: [RFD/PATCH] submodule doc: describe where we can configure them

2016-05-11 Thread Heiko Voigt
On Mon, May 09, 2016 at 10:32:50AM -0700, Stefan Beller wrote: > >> Here is what I imagine > >> When B mirrors from A, B sets up this special ref for its repository, > >> e.g. refs/meta/submodule-B and have a symbolic ref pointing at that. > >> (e.g. SUBMODULE_CONFIG pointing at refs/meta/submodule

Re: [RFD/PATCH] submodule doc: describe where we can configure them

2016-05-11 Thread Heiko Voigt
On Mon, May 09, 2016 at 09:19:44AM -0700, Junio C Hamano wrote: > Heiko Voigt writes: > > >> > - When upstream adds a new submodule, I have to do the same manual > >> > work to change the options for that new submodule. > >> > >> Because a new module is not automatically "init"ed by default? >

Re: Re: [RFD/PATCH] submodule doc: describe where we can configure them

2016-05-09 Thread Stefan Beller
>> Here is what I imagine >> When B mirrors from A, B sets up this special ref for its repository, >> e.g. refs/meta/submodule-B and have a symbolic ref pointing at that. >> (e.g. SUBMODULE_CONFIG pointing at refs/meta/submodule-B, >> which has a worktree which contains a .gitmodules files which >>

Re: [RFD/PATCH] submodule doc: describe where we can configure them

2016-05-09 Thread Junio C Hamano
Heiko Voigt writes: >> > - When upstream adds a new submodule, I have to do the same manual >> > work to change the options for that new submodule. >> >> Because a new module is not automatically "init"ed by default? >> >> Isn't "config only" vs "config with gitmodules fallback" orthogonal >>

Re: Re: [RFD/PATCH] submodule doc: describe where we can configure them

2016-05-08 Thread Heiko Voigt
Hi, On Wed, May 04, 2016 at 02:13:47PM -0700, Junio C Hamano wrote: > Jonathan Nieder writes: > > > This design is somewhat problematic for a few reasons: > > > > - When I want to stop paying attention to a particular submodule and > > start paying attention to it again later, all my local set

Re: Re: [RFD/PATCH] submodule doc: describe where we can configure them

2016-05-08 Thread Heiko Voigt
Hi, On Wed, May 04, 2016 at 01:50:24PM -0700, Stefan Beller wrote: > On Wed, May 4, 2016 at 8:01 AM, Heiko Voigt wrote: > > On Tue, May 03, 2016 at 05:59:58PM -0700, Stefan Beller wrote: > >> On Tue, May 3, 2016 at 4:56 PM, Jonathan Nieder wrote: > >> > Stefan Beller wrote: > >> > > >> >> This i

Re: [RFD/PATCH] submodule doc: describe where we can configure them

2016-05-04 Thread Junio C Hamano
Jonathan Nieder writes: > This design is somewhat problematic for a few reasons: > > - When I want to stop paying attention to a particular submodule and > start paying attention to it again later, all my local settings are > gone. True; "[submodule "foo"] enabled = no" may also be a way to

Re: [RFD/PATCH] submodule doc: describe where we can configure them

2016-05-04 Thread Stefan Beller
On Wed, May 4, 2016 at 8:01 AM, Heiko Voigt wrote: > On Tue, May 03, 2016 at 05:59:58PM -0700, Stefan Beller wrote: >> On Tue, May 3, 2016 at 4:56 PM, Jonathan Nieder wrote: >> > Stefan Beller wrote: >> > >> >> This is similar to the gitignore document, but doesn't mirror >> >> the current situat

Re: [RFD/PATCH] submodule doc: describe where we can configure them

2016-05-04 Thread Junio C Hamano
Stefan Beller writes: > This is similar to the gitignore document, but doesn't mirror > the current situation. It is rather meant to start a discussion for > the right approach for mirroring repositories with submodules. > > Signed-off-by: Stefan Beller > --- > > Jonathan, is this something you

Re: [RFD/PATCH] submodule doc: describe where we can configure them

2016-05-04 Thread Heiko Voigt
On Tue, May 03, 2016 at 05:59:58PM -0700, Stefan Beller wrote: > On Tue, May 3, 2016 at 4:56 PM, Jonathan Nieder wrote: > > Stefan Beller wrote: > > > >> This is similar to the gitignore document, but doesn't mirror > >> the current situation. It is rather meant to start a discussion for > >> the

Re: [RFD/PATCH] submodule doc: describe where we can configure them

2016-05-03 Thread Stefan Beller
On Tue, May 3, 2016 at 4:56 PM, Jonathan Nieder wrote: > Stefan Beller wrote: > >> This is similar to the gitignore document, but doesn't mirror >> the current situation. It is rather meant to start a discussion for >> the right approach for mirroring repositories with submodules. > > Ooh. Thanks

Re: [RFD/PATCH] submodule doc: describe where we can configure them

2016-05-03 Thread Jonathan Nieder
Stefan Beller wrote: > This is similar to the gitignore document, but doesn't mirror > the current situation. It is rather meant to start a discussion for > the right approach for mirroring repositories with submodules. Ooh. [...] > --- a/Documentation/git-submodule.txt > +++ b/Documentation/git