[commit: ghc] wip/nfs-locking: Use shallow git clone. (0c3a659)

git at git.haskell.org git at git.haskell.org
Thu Oct 26 23:49:55 UTC 2017


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

On branch  : wip/nfs-locking
Link       : http://ghc.haskell.org/trac/ghc/changeset/0c3a65984127a8e17cde5cec4257ed8b023487db/ghc

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

commit 0c3a65984127a8e17cde5cec4257ed8b023487db
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Mon Jan 11 14:48:30 2016 +0000

    Use shallow git clone.
    
    See #110. [skip ci]


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

0c3a65984127a8e17cde5cec4257ed8b023487db
 .appveyor.yml | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/.appveyor.yml b/.appveyor.yml
index f0d0e69..68c1fd8 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -16,7 +16,14 @@ install:
     - bash -lc "curl -LsS http://www.haskell.org/ghc/dist/7.10.3/ghc-7.10.3-x86_64-unknown-mingw32.tar.xz | tar -xJ -C /mingw64 --strip-components=1"
     - stack exec -- pacman -S --noconfirm gcc binutils p7zip git
     - echo "" | stack --no-terminal install alex happy shake ansi-terminal mtl
-    - git clone --recursive git://git.haskell.org/ghc.git C:\msys64\home\ghc\tmp
+
+    - git config --global url."git://github.com/ghc/packages-".insteadOf     git://github.com/ghc/packages/
+    - git config --global url."http://github.com/ghc/packages-".insteadOf    http://github.com/ghc/packages/
+    - git config --global url."https://github.com/ghc/packages-".insteadOf   https://github.com/ghc/packages/
+    - git config --global url."ssh://git@github.com/ghc/packages-".insteadOf ssh://git@github.com/ghc/packages/
+    - git config --global url."git at github.com:/ghc/packages-".insteadOf      git at github.com:/ghc/packages/
+    - git clone https://github.com/ghc/ghc --recurse-submodules --depth 1 C:\msys64\home\ghc\tmp
+
     - bash -lc "mv /home/ghc/tmp/* /home/ghc"
     - cd C:\msys64\home\ghc
     - stack exec -- perl boot



More information about the ghc-commits mailing list