aboutsummaryrefslogtreecommitdiffstats
path: root/testing/shards
diff options
context:
space:
mode:
Diffstat (limited to 'testing/shards')
-rw-r--r--testing/shards/APKBUILD2
-rw-r--r--testing/shards/use-git-bare-instead-of-mirror.patch9
2 files changed, 3 insertions, 8 deletions
diff --git a/testing/shards/APKBUILD b/testing/shards/APKBUILD
index df1319da5c..5cc2c15583 100644
--- a/testing/shards/APKBUILD
+++ b/testing/shards/APKBUILD
@@ -45,5 +45,5 @@ package() {
sha512sums="a99648ae292095278578e47971b556a0da90743db62689a76aae9eab986ad2185ad7adc13c4340f12fce835c5383d8aac93e35258d01fa658e521314eafaf942 shards-0.7.2.tar.gz
4f802475c6b1be0d1c8844fed1aeba09b8b2b893f413e25115c1687d35348357e9c0076169e38721bedc3cb31ac2463a7c1b243841554f3eca470608a62438a5 minitest.cr-0.3.6.tar.gz
-3cbe18dee98ade451f1fe1eb05c8d305fccdc76b60e007a1d19f0f25db29551e12060184a1bf72be7c43c449e726da2ec7c012832df9e34bf759590e658186ea use-git-bare-instead-of-mirror.patch
+ab640ab81273042b303abcd23b459f45dfdb8a725bff41043118750d03e6ba0c6bb86a5507f90bb74bf83cb14288dd35ece83b12c63b300f01bf6110e67099cc use-git-bare-instead-of-mirror.patch
6d5ff4cd2cdf41a4805f17459c614ddc6fbc98df49304067c927e27aaa6c43460409789c7871cfbead27a6d13d3d9b92b80b2aec9a76eefb9b11cf9feb17045b makefile-install.patch"
diff --git a/testing/shards/use-git-bare-instead-of-mirror.patch b/testing/shards/use-git-bare-instead-of-mirror.patch
index 95082a6f54..fef88e5a7e 100644
--- a/testing/shards/use-git-bare-instead-of-mirror.patch
+++ b/testing/shards/use-git-bare-instead-of-mirror.patch
@@ -4,18 +4,13 @@ Date: Tue, 12 Dec 2017 10:19:44 +0100
Subject: [PATCH] Fix: use git --bare instead of --mirror
Patch-Source: https://github.com/crystal-lang/shards/commit/3a64a76b495708a7f3bf7969e85b26817e094cc8
----
- src/resolvers/git.cr | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-diff --git a/src/resolvers/git.cr b/src/resolvers/git.cr
-index bbc1184..b61adb6 100644
--- a/src/resolvers/git.cr
+++ b/src/resolvers/git.cr
-@@ -177,7 +177,7 @@ module Shards
- end
+@@ -178,7 +178,7 @@
private def clone_repository
+ Dir.mkdir_p(Shards.cache_path) unless Dir.exists?(Shards.cache_path)
- run "git clone --mirror --quiet -- #{FileUtils.escape git_url} #{dependency.name}",
+ run "git clone --bare --quiet -- #{FileUtils.escape git_url} #{dependency.name}",
path: File.dirname(local_path)