sync: make `--clean` optional
commitb9b003dfcecdbec66b44bf68d5b47d7d6019f256
authorAlad Wenter <alad@archlinux.org>
Sun, 18 Feb 2024 15:33:14 +0000 (18 16:33 +0100)
committerAlad Wenter <alad@archlinux.org>
Sun, 18 Feb 2024 15:33:14 +0000 (18 16:33 +0100)
treec67fca2672a79c31324803afde94934bbfa81cf2
parent329dd8d8ed4eda719e9aa5f8dbfca0a3bcc9b725
sync: make `--clean` optional

This allows e.g. to use `aur build -f --margs '--repackage'` after running
`aur-sync` on a larger package where only dependency information has changed.

To account for increased space usage, add `git clean -d` to the `aur-gc`
example to also removed untracked directories in AUR source repositories.
lib/aur-sync
makepkg/aurutils.changelog
man1/aur-sync.1
man1/aur.1