From d1a652ddd1d56b8f4608e46890f893df2915955f Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Thu, 13 Sep 2018 06:30:50 -0400 Subject: 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. --- package.inc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" \ -- cgit v1.2.3-70-g09d2