<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.26.0">
</HEAD>
<BODY>
On Tue, 2011-04-05 at 09:58 +0200, Dirk Wallenstein wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
A relative submodule URL requires m4 duplicates relative to every fork or local
mirror of this module. To select a different protocol with an absolute
submodule URL, the url.<base>.insteadOf configuration option can be used.
Signed-off-by: Dirk Wallenstein <<A HREF="mailto:halsmit@t-online.de">halsmit@t-online.de</A>>
---
I give it at try. Please consider it. This applies to all util-* modules.
.gitmodules | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/.gitmodules b/.gitmodules
index 459533d..cff1b86 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +1,3 @@
[submodule "m4"]
        path = m4
-        url = ../util-common-m4.git
+        url = git://anongit.freedesktop.org/xcb/util-common-m4.git
</PRE>
</BLOCKQUOTE>
<BR>
I looked at a few projects on the net at random and they use git protocol.<BR>
It is also given as examples in the git man pages.<BR>
<BR>
It would be helpful for the many who never used submodules to have a README<BR>
indicating how to use a different protocols such as http or ssh. There were a few posts<BR>
on the list by knowledgeable people on the subject.<BR>
<BR>
Reviewed-by: Gaetan Nadon <<A HREF="mailto:memsize@videotron.ca">memsize@videotron.ca</A>>
</BODY>
</HTML>