RE: Add an option to automatically submodule update on checkout

2017-05-09 Thread Randall S. Becker
On May 8, 2017 10:58 PM, Junio C Hamano wrote: >"Randall S. Becker" writes: >> I have to admit that I just assumed it would have to work that way >> this would not be particularly useful. However, in thinking about it, >> we might want to limit the depth of how far -b

Re: Add an option to automatically submodule update on checkout

2017-05-08 Thread Junio C Hamano
"Randall S. Becker" writes: > I have to admit that I just assumed it would have to work that way > this would not be particularly useful. However, in thinking about > it, we might want to limit the depth of how far -b takes > effect. If the super module brings in

Re: Add an option to automatically submodule update on checkout

2017-05-08 Thread Stefan Beller
On Mon, May 8, 2017 at 10:08 AM, Brandon Williams wrote: >> >> >[submodule "gnulib"] >> >path=./gnulib >> >external = true # implies no branch for checkout -b --recurse-submodules >> >> >I think there are a couple more situations where such "external" submodules >>

Re: Add an option to automatically submodule update on checkout

2017-05-08 Thread Brandon Williams
On 05/08, Randall S. Becker wrote: > On May 8, 2017 12:55 PM, Stefan Beller wrote: > >On Mon, May 8, 2017 at 9:46 AM, Randall S. Becker > >wrote: > >> On May 8, 2017 12:25 PM, Stefan Beller wrote: > >>>On Mon, May 8, 2017 at 7:42 AM, Randall S. Becker

RE: Add an option to automatically submodule update on checkout

2017-05-08 Thread Randall S. Becker
On May 8, 2017 12:55 PM, Stefan Beller wrote: >On Mon, May 8, 2017 at 9:46 AM, Randall S. Becker >wrote: >> On May 8, 2017 12:25 PM, Stefan Beller wrote: >>>On Mon, May 8, 2017 at 7:42 AM, Randall S. Becker >>>wrote: On May 6, 2017 4:38 AM

Re: Add an option to automatically submodule update on checkout

2017-05-08 Thread Stefan Beller
On Mon, May 8, 2017 at 9:46 AM, Randall S. Becker wrote: > On May 8, 2017 12:25 PM, Stefan Beller wrote: >>On Mon, May 8, 2017 at 7:42 AM, Randall S. Becker >>wrote: >>> On May 6, 2017 4:38 AM Ciro Santilli wrote: This is a must if you are

Re: Add an option to automatically submodule update on checkout

2017-05-08 Thread Brandon Williams
On 05/08, Stefan Beller wrote: > On Mon, May 8, 2017 at 7:42 AM, Randall S. Becker > wrote: > > On May 6, 2017 4:38 AM Ciro Santilli wrote: > >> This is a must if you are working with submodules, otherwise every > >> git checkout requires a git submodule update, and you

RE: Add an option to automatically submodule update on checkout

2017-05-08 Thread Randall S. Becker
On May 8, 2017 12:25 PM, Stefan Beller wrote: >On Mon, May 8, 2017 at 7:42 AM, Randall S. Becker >wrote: >> On May 6, 2017 4:38 AM Ciro Santilli wrote: >>> This is a must if you are working with submodules, otherwise every >>> git checkout requires a git submodule

Re: Add an option to automatically submodule update on checkout

2017-05-08 Thread Stefan Beller
On Mon, May 8, 2017 at 7:42 AM, Randall S. Becker wrote: > On May 6, 2017 4:38 AM Ciro Santilli wrote: >> This is a must if you are working with submodules, otherwise every git >> checkout requires a git submodule update, >> and you forget it, and things break, and you