Re: [PATCHv7 8/8] clone: recursive and reference option triggers submodule alternates

2016-08-17 Thread Stefan Beller
On Wed, Aug 17, 2016 at 3:12 PM, Junio C Hamano wrote: > Stefan Beller writes: > >> Added a default for alternateErrorStrategy and hence fixed the null pointer >> for error_strategy in prepare_possible_alternates(), > > Looks much better. > >> +submodule.alternateLocation:: >> + Specifies h

Re: [PATCHv7 8/8] clone: recursive and reference option triggers submodule alternates

2016-08-17 Thread Junio C Hamano
Stefan Beller writes: > Added a default for alternateErrorStrategy and hence fixed the null pointer > for error_strategy in prepare_possible_alternates(), Looks much better. > +submodule.alternateLocation:: > + Specifies how the submodules obtain alternates when submodules are > + clo

[PATCHv7 8/8] clone: recursive and reference option triggers submodule alternates

2016-08-17 Thread Stefan Beller
When `--recursive` and `--reference` is given, it is reasonable to expect that the submodules are created with references to the submodules of the given alternate for the superproject. An initial attempt to do this was presented to the mailing list, which used flags that are passed around ("--