On 11 October 2013 00:06, Stefan Hajnoczi <stefa...@gmail.com> wrote: > On Thu, Oct 10, 2013 at 2:52 PM, Peter Maydell <peter.mayd...@linaro.org> > wrote: >> I agree we need to make this change -- but do you know if >> an existing checkout with the submodule checked out will >> automatically do the Right Thing on git update or if manual >> intervention is necessary ? > > You are right, git submodule update will silently complete but it does > not change the actual repo URLs in the .git/config files.
Sounds like it would be nice to have the commit message say "if you have a tree with checked out submodules you should run $these_commands to remove and reinit the submodules with the new URL" (and perhaps post to qemu-devel as well when the patch hits mainline?) thanks -- PMM