Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
ec1d62b2
Commit
ec1d62b2
authored
7 years ago
by
Jakub Jirutka
Browse files
Options
Downloads
Patches
Plain Diff
testing/shards: fix patch
I should really go sleep, I don't even know how it could have happened.
parent
70dee520
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
testing/shards/APKBUILD
+1
-1
1 addition, 1 deletion
testing/shards/APKBUILD
testing/shards/use-git-bare-instead-of-mirror.patch
+2
-7
2 additions, 7 deletions
testing/shards/use-git-bare-instead-of-mirror.patch
with
3 additions
and
8 deletions
testing/shards/APKBUILD
+
1
−
1
View file @
ec1d62b2
...
...
@@ -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"
This diff is collapsed.
Click to expand it.
testing/shards/use-git-bare-instead-of-mirror.patch
+
2
−
7
View file @
ec1d62b2
...
...
@@ -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)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment