From a7da0d9a5be1f07a8f1ea1090ff4fea0de3bc6ed 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 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" \ -- cgit v1.2.3-70-g09d2