> diff --git a/.gitmodules b/.gitmodules
> new file mode 100644
> index 0000000..b628a96
> --- /dev/null
> +++ b/.gitmodules
> @@ -0,0 +1,3 @@
> +[submodule "spice-protocol"]
> +     path = spice-protocol
> +     url = git://anongit.freedesktop.org/spice/spice-protocol

IIRC relative paths work there too and 'git submodule init' picks up the
path from the parent then.  So committers automagically get a
"ssh://..." url for the submodule too.  Also when fetching from a local
mirror git will try to get the submodule from the mirror as well.

cheers,
  Gerd

_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to