Eliminate use of git show-ref in favor of git for-each-ref