summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2018-09-13 06:30:50 -0400
committerErick Cafferata <erick@cafferata.me>2018-11-03 13:30:01 -0500
commita7da0d9a5be1f07a8f1ea1090ff4fea0de3bc6ed (patch)
treed97ea2b06548f8956992f68d1a2f54f5c45db924
parenteae23dc582b2959c282c50ce5899298fe15c0179 (diff)
downloadasp32-a7da0d9a5be1f07a8f1ea1090ff4fea0de3bc6ed.tar.xz
Use --shared instead of --local for clones
A second attempt at fixing https://bugs.archlinux.org/task/60027 -- using --shared is much simpler and results in better diskspace savings.
-rw-r--r--package.inc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package.inc.sh b/package.inc.sh
index 99f815e..109a75e 100644
--- a/package.inc.sh
+++ b/package.inc.sh
@@ -171,7 +171,7 @@ package_checkout() {
git branch -qf --no-track {,}"$remote/packages/$pkgname"
quiet_git clone \
- --local \
+ --shared \
--single-branch \
--branch "$remote/packages/$pkgname" \
--config "pull.rebase=true" \