Acked-by: Christophe Fergeau <cfergeau@xxxxxxxxxx> On Wed, Jun 20, 2018 at 12:28:58PM +0300, Uri Lublin wrote: > With the move to gitlab.freedesktop.org the spice-common submodule > url changed, and now ends with .git > > Update .gitmodules to reflect that. > > Without this patch git submodule update (and ./autogen.sh) > fails on RHEL-7 (git version 1.8.3). > On Fedora 28 (git version 2.17.1) it succeeds as it's successfully > redirecting to spice-common.git url. > > With git version 1.8.3: > $ git submodule update > Cloning into 'spice-common'... > error: RPC failed; result=22, HTTP code = 404 > fatal: The remote end hung up unexpectedly > Clone of 'https://gitlab.freedesktop.org/spice/spice-common' into submodule path 'spice-common' failed > > Signed-off-by: Uri Lublin <uril@xxxxxxxxxx> > --- > > If you are testing from an existing directory you can > > $ git config submodule.spice-common.url # show old url > $ git submodule deinit . > $ git submodule init > $ git config submodule.spice-common.url # show new url > $ git submodule update > > --- > .gitmodules | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/.gitmodules b/.gitmodules > index 0c618ee13..ef8d8f9a5 100644 > --- a/.gitmodules > +++ b/.gitmodules > @@ -1,3 +1,3 @@ > [submodule "spice-common"] > path = spice-common > - url = ../spice-common > + url = ../spice-common.git > -- > 2.17.1 > > _______________________________________________ > Spice-devel mailing list > Spice-devel@xxxxxxxxxxxxxxxxxxxxx > https://lists.freedesktop.org/mailman/listinfo/spice-devel
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel