index : asp32 | |
Archlinux32 fork of asp - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
author | Dave Reisner <dreisner@archlinux.org> | 2014-08-02 16:51:23 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2014-08-02 16:51:23 -0400 |
commit | cd150f45de90f3e8864a2882c0cac660a5f2111e (patch) | |
tree | cfdf53af67c76a376149129ec848d30845e4fdb4 | |
parent | b4bd7fe863a1801e58a17c619737484848e2c0ca (diff) |
-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() { |