Peter Maydell <[email protected]> writes:
> On Thu, 2 Mar 2023 at 11:30, Alex Bennée <[email protected]> wrote: >> >> >> Peter Maydell <[email protected]> writes: >> >> > On Wed, 1 Mar 2023 at 19:47, Alex Bennée <[email protected]> wrote: >> >> >> >> From the other thread: >> >> >> >> I think the underlying config needs updating: >> >> >> >> .git/modules/tests/fp/berkeley-testfloat-3/config >> >> >> >> I'm surprised the git config for submodules doesn't carry the metadata. >> > >> > Yeah, in my local repo that I merge stuff with that file >> > does still have a github URL: >> > url = git://github.com/cota/berkeley-testfloat-3 >> > >> > So I guess my questions are: >> > (1) why hasn't this been a problem up til now ? >> > (2) does this mean that if I merge this then everybody will >> > need to manually go in and update this file somehow >> > to be able to pull the updated qemu master ? >> >> git submodule set-url tests/fp/berkeley-testfloat-3 >> https://gitlab.com/qemu-project/berkeley-testfloat-3.git >> >> seems to be the magic to reset origin without manually hacking things. > > The documentation suggests > 'git submodule sync' > ought to work too ? Ahh yes it does. Have confirmed doing: git submodule sync git submodule foreach --recursive git config --get remote.origin.url and now everything is correct. Does this mean we need to tweak the build/configure somehow? > > -- PMM -- Alex Bennée Virtualisation Tech Lead @ Linaro
