Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/common-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/common-functions b/bin/common-functions
index 7b5aa18..d6b4858 100755
--- a/bin/common-functions
+++ b/bin/common-functions
@@ -21,7 +21,7 @@ find_pkgbuild() {
find_repository_with_commit() {
for repository in "${!repo_paths[@]}"; do
- if [ "$(git -C "${repo_paths["${repository}"]}" cat-file -t "$1")" == "commit" ]; then
+ if [ "$(git -C "${repo_paths["${repository}"]}" cat-file -t "$1" 2> /dev/null)" == "commit" ]; then
echo "${repository}"
return 0
fi