From 7033554e45cf7dc7072dc6a1ca8a1575f02c2625 Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Wed, 6 Mar 2024 22:30:06 +0300 Subject: fix(drop-from-repo): avoid Git trying to push tags to the AUR If users have enabled push.followTags in their Git config then dropping packages to the AUR spews errors because all the release tags from official repos are rejected by AUR repos. --- src/lib/aur/drop-from-repo.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib') diff --git a/src/lib/aur/drop-from-repo.sh b/src/lib/aur/drop-from-repo.sh index 1c4f077..0e9cab4 100644 --- a/src/lib/aur/drop-from-repo.sh +++ b/src/lib/aur/drop-from-repo.sh @@ -141,9 +141,9 @@ pkgctl_aur_drop_from_repo() { if (( FORCE )); then AUR_OVERWRITE=1 \ GIT_SSH_COMMAND="ssh -o SendEnv=AUR_OVERWRITE" \ - git push --force origin master + git push --force --no-follow-tags origin master else - git push origin master + git push --no-follow-tags origin master fi # update the local default branch in case this clone is used in the future -- cgit v1.2.3-70-g09d2