Commit dc90504d authored by Luca Giambonini's avatar Luca Giambonini

check for modified (M) or added (A) files, skip deleted PKGBUILD

parent efe048d2
......@@ -123,13 +123,13 @@ function list_commits() {
function list_packages() {
local _packages
local _orders
_list_changes _packages '*/PKGBUILD' '%/PKGBUILD' --no-commit-id --pretty=format: --name-only -r || return 1
_list_changes _packages '*/PKGBUILD' '%/PKGBUILD' --no-commit-id --pretty=format: --name-only -r --diff-filter=AM || return 1
for _package in "${_packages[@]}"; do
PACKAGES+=("${_package}")
done
# check if there are some .order file
_list_changes _orders '*.order' '%' --no-commit-id --pretty=format: --name-only -r || return 1
_list_changes _orders '*.order' '%' --no-commit-id --pretty=format: --name-only -r --diff-filter=AM || return 1
for _order in "${_orders[@]}"; do
exec 3<$_order
while read -u3 _line; do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment