summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2018-09-13 06:30:50 -0400
committerDave Reisner <dreisner@archlinux.org>2018-09-13 06:37:13 -0400
commitd1a652ddd1d56b8f4608e46890f893df2915955f (patch)
treebe0d6fb6d0ec6944e97ff50f3231d1e3f948e081
parent407848a56e0f5a9073c328d1ed0c915b2f4309f0 (diff)
downloadasp32-d1a652ddd1d56b8f4608e46890f893df2915955f.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 7a9756d..1ae9a5b 100644
--- a/package.inc.sh
+++ b/package.inc.sh
@@ -165,7 +165,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" \