diff options
Diffstat (limited to 'package.inc.sh')
-rw-r--r-- | package.inc.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/package.inc.sh b/package.inc.sh index d4e7a4e..aeea3ae 100644 --- a/package.inc.sh +++ b/package.inc.sh @@ -125,7 +125,9 @@ package_checkout() { git branch -qf --no-track {,}"$remote/packages/$pkgname" git clone "$ASPROOT" --single-branch --branch "$remote/packages/$pkgname" \ - "$startdir/$pkgname" + "$startdir/$pkgname" || return 1 + + git --git-dir="$startdir/$pkgname/.git" config pull.rebase true } package_get_repos_with_arch() { |