[commit: ghc] wip/T8545-ghc-7.8: Switch to relative URLs in .gitmodules (de0b1c5)

git at git.haskell.org git at git.haskell.org
Sat Mar 22 20:59:26 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/T8545-ghc-7.8
Link       : http://ghc.haskell.org/trac/ghc/changeset/de0b1c5a0749c3117320d645bf33914293eb2a29/ghc

>---------------------------------------------------------------

commit de0b1c5a0749c3117320d645bf33914293eb2a29
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Thu Feb 6 08:42:27 2014 +0100

    Switch to relative URLs in .gitmodules
    
    Previously, the `http://`-protocol part was hardcoded in the URLs, causing
    the initial clone process to fall back to `http://` even when the ghc.git repo
    was cloned via one of the other 3 supported transport protocols.
    
    This is slightly related to #8545, as it will make it possible to e.g.
    
        git clone --recursive git://git.haskell.org/ghc
    
    and clone ghc.git including all submodules in one go (i.e. w/o `sync-all`),
    and w/o falling back to a different (hardwired) Git transport protocol for
    the submodules.
    
    Signed-off-by: Herbert Valerio Riedel <hvr at gnu.org>
    (cherry picked from commit ad44e47542a822ac3e02cf514b5d2be52880fc95)


>---------------------------------------------------------------

de0b1c5a0749c3117320d645bf33914293eb2a29
 .gitmodules |   28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/.gitmodules b/.gitmodules
index f0fd280..d83bfd0 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,56 +1,56 @@
 [submodule "libraries/binary"]
 	path = libraries/binary
-	url = http://git.haskell.org/packages/binary.git
+	url = ../packages/binary.git
 	ignore = untracked
 [submodule "libraries/bytestring"]
 	path = libraries/bytestring
-	url = http://git.haskell.org/packages/bytestring.git
+	url = ../packages/bytestring.git
 	ignore = untracked
 [submodule "libraries/Cabal"]
 	path = libraries/Cabal
-	url = http://git.haskell.org/packages/Cabal.git
+	url = ../packages/Cabal.git
 	ignore = untracked
 [submodule "libraries/containers"]
 	path = libraries/containers
-	url = http://git.haskell.org/packages/containers.git
+	url = ../packages/containers.git
 	ignore = untracked
 [submodule "libraries/haskeline"]
 	path = libraries/haskeline
-	url = http://git.haskell.org/packages/haskeline.git
+	url = ../packages/haskeline.git
 	ignore = untracked
 [submodule "libraries/pretty"]
 	path = libraries/pretty
-	url = http://git.haskell.org/packages/pretty.git
+	url = ../packages/pretty.git
 	ignore = untracked
 [submodule "libraries/terminfo"]
 	path = libraries/terminfo
-	url = http://git.haskell.org/packages/terminfo.git
+	url = ../packages/terminfo.git
 	ignore = untracked
 [submodule "libraries/transformers"]
 	path = libraries/transformers
-	url = http://git.haskell.org/packages/transformers.git
+	url = ../packages/transformers.git
 	ignore = untracked
 [submodule "libraries/xhtml"]
 	path = libraries/xhtml
-	url = http://git.haskell.org/packages/xhtml.git
+	url = ../packages/xhtml.git
 	ignore = untracked
 [submodule "libraries/Win32"]
 	path = libraries/Win32
-	url = http://git.haskell.org/packages/Win32.git
+	url = ../packages/Win32.git
 	ignore = untracked
 [submodule "libraries/primitive"]
 	path = libraries/primitive
-	url = http://git.haskell.org/packages/primitive.git
+	url = ../packages/primitive.git
 	ignore = untracked
 [submodule "libraries/vector"]
 	path = libraries/vector
-	url = http://git.haskell.org/packages/vector.git
+	url = ../packages/vector.git
 	ignore = untracked
 [submodule "libraries/time"]
 	path = libraries/time
-	url = http://git.haskell.org/packages/time.git
+	url = ../packages/time.git
 	ignore = untracked
 [submodule "libraries/random"]
 	path = libraries/random
-	url = http://git.haskell.org/packages/random.git
+	url = ../packages/random.git
 	ignore = untracked



More information about the ghc-commits mailing list