summaryrefslogtreecommitdiff
path: root/remote.inc.sh
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2014-08-02 16:51:43 -0400
committerDave Reisner <dreisner@archlinux.org>2014-08-02 16:51:43 -0400
commit504845a766c6cdd6f994e61fb0d73ac5e576dbd0 (patch)
tree95395251aa5e2c27f286953873ab78b50570091d /remote.inc.sh
parentcd150f45de90f3e8864a2882c0cac660a5f2111e (diff)
downloadasp32-504845a766c6cdd6f994e61fb0d73ac5e576dbd0.tar.xz
remote: use show-ref instead of rev-parse
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() {