Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/remote.inc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'remote.inc.sh')
-rw-r--r--remote.inc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote.inc.sh b/remote.inc.sh
index 04ec16e..389f105 100644
--- a/remote.inc.sh
+++ b/remote.inc.sh
@@ -14,7 +14,7 @@ remote_has_package() {
remote_is_tracking() {
local repo=$1 pkgname=$2
- git rev-parse "$repo/packages/$pkgname" &>/dev/null
+ git show-ref -q "$repo/packages/$pkgname"
}
remote_get_tracked_refs() {