summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Cho2020-12-10 09:09:02 +0900
committerXavier Cho2020-12-10 09:09:02 +0900
commit4ebe3b5993d27536b7c459aa53313b58fe8d8063 (patch)
tree5482ea7ab53c4b4ac238f22a5344e843de77b41c
parente6ff81445b30c1bfd0bb9da4736347ba6074ac48 (diff)
downloadaur-4ebe3b5993d27536b7c459aa53313b58fe8d8063.tar.gz
Add depth option to git commands when applicable
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index efa3c49d2c6..860be11daeb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -77,9 +77,9 @@ prepare() {
#update the submodules
git submodule sync
- git submodule update --init --recursive --remote
+ git submodule update --init --recursive --remote --depth=1
git submodule foreach git checkout master
- git submodule foreach git pull --rebase
+ git submodule foreach git pull --rebase --depth=1
if [ "$_EMBREE_PKG" != "" ]; then
git apply -v "${srcdir}"/embree.patch