Re: [PATCH 6/6] clone: reference flag is used for submodules as well

2016-08-05 Thread Junio C Hamano
Stefan Beller writes: > When giving a --reference while also giving --recurse, the alternates > for the submodules are assumed to be in the superproject as well. > > In case they are not, we error out when cloning the submodule. > However the update command succeeds as usual (with no alternates).

[PATCH 6/6] clone: reference flag is used for submodules as well

2016-08-04 Thread Stefan Beller
When giving a --reference while also giving --recurse, the alternates for the submodules are assumed to be in the superproject as well. In case they are not, we error out when cloning the submodule. However the update command succeeds as usual (with no alternates). Signed-off-by: Stefan Beller -