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 1554d3a..4e31696 100644 --- a/remote.inc.sh +++ b/remote.inc.sh @@ -3,7 +3,7 @@ declare -A refcache=() remote_get_all_refs() { local remote=$1 - if [[ -z ${refcache["$remote"]} ]]; then + if [[ -z ${refcache["$remote"]+cached} ]]; then refcache["$remote"]=$(git ls-remote "$remote" 'refs/heads/packages/*' | awk '{ sub(/refs\/heads\//, "", $2); print $2 }') fi |