diff options
author | Dave Reisner <dreisner@archlinux.org> | 2018-09-13 06:30:50 -0400 |
---|---|---|
committer | Erick Cafferata <erick@cafferata.me> | 2018-11-03 13:30:01 -0500 |
commit | a7da0d9a5be1f07a8f1ea1090ff4fea0de3bc6ed (patch) | |
tree | d97ea2b06548f8956992f68d1a2f54f5c45db924 /package.inc.sh | |
parent | eae23dc582b2959c282c50ce5899298fe15c0179 (diff) | |
download | asp32-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.
Diffstat (limited to 'package.inc.sh')
-rw-r--r-- | package.inc.sh | 2 |
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" \ |