From 504845a766c6cdd6f994e61fb0d73ac5e576dbd0 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sat, 2 Aug 2014 16:51:43 -0400 Subject: remote: use show-ref instead of rev-parse --- remote.inc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { -- cgit v1.2.3-70-g09d2