Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2023-08-29 20:30:15 +0200
committerErich Eckner <git@eckner.net>2023-08-29 20:30:23 +0200
commit1da8cb173b67509b8fbde8dd5d710aadf9ce2c05 (patch)
tree4c7c99f551ab5c875d5ff538468c06054afce245
parentef32b269495cfb7bfb716f157fe32cf8adb02d9a (diff)
bin/get-package-updates: only take things, that look like a git commit
-rwxr-xr-xbin/get-package-updates1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/get-package-updates b/bin/get-package-updates
index d9b9dd8..5076042 100755
--- a/bin/get-package-updates
+++ b/bin/get-package-updates
@@ -321,6 +321,7 @@ echo 'Check modified packages from the last update, and put them to the build li
git -C "${repo_paths__state}" archive "${new_repo_revisions__state}" -- "${directory}" \
| tar -Ox \
| grep -v '^\S\+\( \S\+\)\1\1$' \
+ | grep ' [0-9a-f]\{40\}$' \
| cut -d' ' -f1,4 \
| sed '
s@$@ '"${directory%-*}"'@