From: Mike Frysinger Date: Sat, 10 Mar 2018 07:32:35 +0000 (-0800) Subject: git-rb-all: rework local heads lookup X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=86bc09eb6d303ca3a4d8b439b6522cab0156c670;p=home.git git-rb-all: rework local heads lookup --- diff --git a/.bin/git-rb-all b/.bin/git-rb-all index b4efb48..e20c83a 100755 --- a/.bin/git-rb-all +++ b/.bin/git-rb-all @@ -31,7 +31,7 @@ main() { local orig b branches orig=$(git rev-parse --abbrev-ref HEAD) || return - branches=( $(git ls-remote . 'heads/*' | sed 's:.*refs/heads/::') ) + branches=( $(git ls-remote --heads . | sed 's:.*refs/heads/::') ) for b in "${branches[@]}" ; do rb_one "${b}" done