index : asp32 | |
Archlinux32 fork of asp - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | remote.inc.sh | 2 |
diff --git a/remote.inc.sh b/remote.inc.sh index d2521bb..04ec16e 100644 --- a/remote.inc.sh +++ b/remote.inc.sh @@ -8,7 +8,7 @@ remote_get_all_refs() { remote_has_package() { local remote=$1 pkgname=$2 - [[ $(git ls-remote "$remote" "$pkgname") ]] + git ls-remote --heads --exit-code "$remote" "$pkgname" &>/dev/null } remote_is_tracking() { |