Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/package.inc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'package.inc.sh')
-rw-r--r--package.inc.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/package.inc.sh b/package.inc.sh
index 6fcf8c3..7a9756d 100644
--- a/package.inc.sh
+++ b/package.inc.sh
@@ -164,10 +164,12 @@ package_checkout() {
git show-ref -q "refs/heads/$remote/packages/$pkgname" ||
git branch -qf --no-track {,}"$remote/packages/$pkgname"
- quiet_git clone "$ASPROOT" --single-branch --branch "$remote/packages/$pkgname" \
- "$pkgname" || return
-
- git --git-dir="$pkgname/.git" config pull.rebase true
+ quiet_git clone \
+ --local \
+ --single-branch \
+ --branch "$remote/packages/$pkgname" \
+ --config "pull.rebase=true" \
+ "$ASPROOT" "$pkgname" || return
}
package_get_repos_with_arch() {